fix: remove dependency from tenant router

This commit is contained in:
Rotimi Best
2026-06-12 10:06:06 +01:00
parent cd3b252ea2
commit 977176dbe2
5 changed files with 21 additions and 40 deletions
+1 -3
View File
@@ -12,7 +12,7 @@ The Worker forwards each request to one of two Render services based on path:
| Host / path | Upstream |
| ------------- | ------------------------------------------------------------ |
| `embed.*` | R2 `assets` bucket — `/{widget}` maps to internal keys (`@cio/utils/constants/embeds`) |
| `embed.*` | R2 `assets` bucket — `/{widget}` maps to internal keys (`src/embed-assets.ts`) |
| `/proxy/*` | API service (`/proxy` prefix stripped, rest forwarded as-is) |
| anything else | Dashboard service |
@@ -29,8 +29,6 @@ It preserves the original host as `X-Forwarded-Host` so:
## Deploy
`deploy` runs `predeploy`, which builds `@cio/utils` first (Wrangler resolves `@cio/utils/constants/*` from `dist/`).
```bash
pnpm --filter @cio/tenant-router deploy
```