Files
classroomio/packages/db/src/constants.ts
T

8 lines
291 B
TypeScript
Raw Normal View History

const { TRUSTED_ORIGINS: TRUSTED_ORIGINS_STRING, SERVER_URL } = process.env;
export const TRUSTED_ORIGINS = TRUSTED_ORIGINS_STRING
? TRUSTED_ORIGINS_STRING.split(',')
: ['http://localhost:5173', 'http://*.classroomio.*'];
export const BASE_URL = SERVER_URL || 'http://localhost:3002';