Files
copilot/src/shared/config.ts
T
2026-09-08 11:57:59 +02:00

12 lines
587 B
TypeScript

/**
* Nexa backend location. Dev-only default — swap for the real deployed
* backend host before shipping (see backend/CLAUDE.md, "Relationship to the
* frontend"). `host_permissions` in wxt.config.ts must be kept in sync with
* this host.
*/
// Port 8080, deliberately not 3000 — that's WXT/Vite's dev server port for
// this extension, and colliding with it breaks the dev popup silently (its
// script tags point at Vite, but the backend answers instead).
export const BACKEND_HTTP_URL = 'https://api.osias.trade';
export const BACKEND_WS_URL = 'https://api.osias.trade/ws';