Describe the bug
Dashboard webhook management does not use the configured self-hosted Svix API URL in the browser.
The Daytona API can use SVIX_SERVER_URL for server-side Svix calls, but the dashboard does not pass a self-hosted Svix API URL to svix-react. In self-hosted or split-route deployments, browser-side webhook management can fall back to Svix Cloud (https://api.svix.com) instead of the configured self-hosted Svix instance.
To Reproduce
Steps to reproduce the behavior:
- Deploy Daytona OSS with self-hosted Svix.
- Configure the Daytona API with:
SVIX_AUTH_TOKEN=...
SVIX_SERVER_URL=http://svix.svc.cluster.local:8071
- Expose Svix to browsers through a public/proxied URL, for example:
- Open the Daytona dashboard and go to Webhooks.
- Open the browser network tab and use the webhook management UI.
- See browser requests go to
https://api.svix.com/api/v1/... instead of the self-hosted Svix URL.
Expected behavior
The dashboard should use the browser-facing self-hosted Svix API URL for webhook management.
For split-route deployments, Daytona should support:
- Server-side API URL:
SVIX_SERVER_URL=http://svix.svc.cluster.local:8071
- Browser-facing URL:
SVIX_PUBLIC_SERVER_URL=https://svix.example.com
When only SVIX_SERVER_URL=https://svix.example.com is configured, the dashboard should use that same URL.
When no Svix server URL is configured, existing Svix Cloud behavior should remain unchanged.
Screenshots
Not applicable.
Environment (required fields):
- Deployment: OSS
- Daytona client: Dashboard
- Daytona Version: v0.184.0
Additional context
Related to #3619, which added the app portal access flow for svix-react.
The issue is specific to self-hosted Svix deployments where the Daytona API and browser may not use the same Svix route.
Describe the bug
Dashboard webhook management does not use the configured self-hosted Svix API URL in the browser.
The Daytona API can use
SVIX_SERVER_URLfor server-side Svix calls, but the dashboard does not pass a self-hosted Svix API URL tosvix-react. In self-hosted or split-route deployments, browser-side webhook management can fall back to Svix Cloud (https://api.svix.com) instead of the configured self-hosted Svix instance.To Reproduce
Steps to reproduce the behavior:
SVIX_AUTH_TOKEN=...SVIX_SERVER_URL=http://svix.svc.cluster.local:8071https://svix.example.comhttps://api.svix.com/api/v1/...instead of the self-hosted Svix URL.Expected behavior
The dashboard should use the browser-facing self-hosted Svix API URL for webhook management.
For split-route deployments, Daytona should support:
SVIX_SERVER_URL=http://svix.svc.cluster.local:8071SVIX_PUBLIC_SERVER_URL=https://svix.example.comWhen only
SVIX_SERVER_URL=https://svix.example.comis configured, the dashboard should use that same URL.When no Svix server URL is configured, existing Svix Cloud behavior should remain unchanged.
Screenshots
Not applicable.
Environment (required fields):
Additional context
Related to #3619, which added the app portal access flow for
svix-react.The issue is specific to self-hosted Svix deployments where the Daytona API and browser may not use the same Svix route.