All files / apps / desktop/src constants.ts

100% Statements 4/4
100% Branches 0/0
100% Functions 0/0
100% Lines 4/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13      1x   1x     1x     1x  
import { DEV_WORKER_URL } from '@chattra/config/dev'
 
// macOS bundle id and Windows AppUserModelID; later the deep-link scheme. Permanent once shipped.
export const APP_ID = 'vn.com.asoft.chattra'
 
export const APP_NAME = 'Chattra'
 
// `pnpm dev`: the Worker serves the SPA and the API from here.
export const DEV_URL = `${DEV_WORKER_URL}/`
 
// The env var that points the window at another deployment.
export const APP_URL_ENV = 'CHATTRA_DESKTOP_URL'