{
  "$schema": "node_modules/wrangler/config-schema.json",
  "name": "ogre",
  "main": "src/index.tsx",
  "compatibility_date": "2026-03-07",
  "observability": {
    "enabled": true,
  },
  "limits": {
      "cpu_ms": 300000
  },
  "routes": [
    {
      "pattern": "ogre.tangled.network",
      "custom_domain": true,
    },
  ],
  "vars": {
    "ENVIRONMENT": "production",
  },
  "rules": [
    {
      "type": "Data",
      "globs": ["**/*.wasm", "**/*.woff", "**/*.otf"],
      "fallthrough": true,
    },
  ],
  "env": {
    "dev": {
      "name": "ogre-dev",
      "vars": {
        "ENVIRONMENT": "development"
      },
      "routes": [
        {
          "pattern": "ogre-dev.tangled.network",
          "custom_domain": true
        }
      ]
    },
    "production": {
      "name": "ogre",
      "vars": {
        "ENVIRONMENT": "production"
      },
      "routes": [
        {
          "pattern": "ogre.tangled.network",
          "custom_domain": true
        }
      ]
    }
  }
}
