variable ALLOWED_ORIGINS

The origins that CORS in main.ts and the WebSocket route accept. They are PUBLIC_URL, FRONTEND_URL and the comma-separated GERBEUR_ALLOWED_ORIGINS.

Type

string[]

Usage

import { ALLOWED_ORIGINS } from "api/config.ts";