mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
add selfhosted env + start fix dates
This commit is contained in:
7
dashboard/composables/useSelfhosted.ts
Normal file
7
dashboard/composables/useSelfhosted.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
|
||||
const app = useRuntimeConfig();
|
||||
|
||||
export function useSelfhosted() {
|
||||
return app.public.SELFHOSTED === 'TRUE';
|
||||
}
|
||||
Reference in New Issue
Block a user