2024-03-26 16:07:08 +00:00
|
|
|
/**
|
|
|
|
* @description Global configuration file for the application
|
|
|
|
*/
|
2024-11-04 18:31:08 +00:00
|
|
|
import * as process from "node:process";
|
2024-03-26 16:07:08 +00:00
|
|
|
|
|
|
|
// POCKETBASE
|
2024-05-28 15:57:21 +00:00
|
|
|
export const PB_USER_COLLECTION = "users"
|
2024-05-14 15:25:29 +00:00
|
|
|
export const PB_BASE_URL = "https://backend.stuve-it.de"
|
2024-05-13 14:22:31 +00:00
|
|
|
export const PB_STORAGE_KEY = "stuve-it-login-record"
|
2024-03-26 16:07:08 +00:00
|
|
|
|
2024-04-14 01:33:44 +00:00
|
|
|
// general
|
|
|
|
export const APP_NAME = "StuVe IT"
|
2024-11-13 20:59:37 +00:00
|
|
|
export const APP_VERSION = "0.9.89 (beta)"
|
2024-11-01 20:01:12 +00:00
|
|
|
export const APP_URL = "https://it.stuve.uni-ulm.de"
|
2024-11-04 18:31:08 +00:00
|
|
|
export const LOCAL_DEV_MODE = process?.env?.NODE_ENV === "development" || window?.location?.hostname === "localhost"
|
2024-11-01 20:01:12 +00:00
|
|
|
|
|
|
|
// analytics
|
|
|
|
export const ANALYTICS_COOKIE_NAME = "stuve-it-analytics"
|
|
|
|
export const ANALYTICS_IP_API = "https://backend.stuve-it.de/api/ip/json"
|