fix lib
deskripsi: - pindah lib di dalam app ke src ( lib setara app dan app_modules )
This commit is contained in:
16
src/lib/server_env.ts
Normal file
16
src/lib/server_env.ts
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user