deskripsi:
- pindah lib di dalam app ke src ( lib setara app dan app_modules )
This commit is contained in:
2025-02-12 10:57:10 +08:00
parent 8651357a3d
commit f419559379
904 changed files with 1129 additions and 1072 deletions

16
src/lib/server_env.ts Normal file
View File

@@ -0,0 +1,16 @@
type ENV = {
DATABASE_URL: string;
WIBU_PWD: string;
Client_KEY: string;
Server_KEY: string;
MAPBOX_TOKEN: string;
WS_APIKEY: string;
NEXT_PUBLIC_WIBU_REALTIME_TOKEN: string;
};
export class ServerEnv {
static value: ENV | null = null;
static set(val: ENV) {
ServerEnv.value = val;
}
}