mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
fix env variables
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
definePageMeta({ layout: 'none' });
|
||||
|
||||
const config = useRuntimeConfig()
|
||||
const isNoAuth = ref<boolean>(config.public.GOOGLE_AUTH_CLIENT_ID == undefined);
|
||||
const isNoAuth = ref<boolean>(config.public.AUTH_MODE == 'NO_AUTH');
|
||||
|
||||
const useCodeClientWrapper = isNoAuth.value === false ?
|
||||
useCodeClient :
|
||||
|
||||
Reference in New Issue
Block a user