fix: remove dependency from tenant router
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user