19 lines
683 B
TypeScript
19 lines
683 B
TypeScript
/**
|
|
* @description Global configuration file for the application
|
|
*/
|
|
import * as process from "node:process";
|
|
|
|
// POCKETBASE
|
|
export const PB_USER_COLLECTION = "users"
|
|
export const PB_BASE_URL = "https://backend.stuve-it.de"
|
|
export const PB_STORAGE_KEY = "stuve-it-login-record"
|
|
|
|
// general
|
|
export const APP_NAME = "StuVe IT"
|
|
export const APP_VERSION = "0.9.8 (beta)"
|
|
export const APP_URL = "https://it.stuve.uni-ulm.de"
|
|
export const LOCAL_DEV_MODE = process?.env?.NODE_ENV === "development" || window?.location?.hostname === "localhost"
|
|
|
|
// analytics
|
|
export const ANALYTICS_COOKIE_NAME = "stuve-it-analytics"
|
|
export const ANALYTICS_IP_API = "https://backend.stuve-it.de/api/ip/json" |