mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
fix SELFHOST env on docker-compose
This commit is contained in:
@@ -10,7 +10,7 @@ export default defineEventHandler(async event => {
|
||||
|
||||
const exist = await OnboardingModel.exists({ user_id: data.user.id });
|
||||
|
||||
if (SELFHOSTED === 'TRUE' || SELFHOSTED === 'true') {
|
||||
if (SELFHOSTED.toString() === 'TRUE' || SELFHOSTED.toString() === 'true') {
|
||||
return { exists: true }
|
||||
}
|
||||
return { exist: exist != null }
|
||||
|
||||
Reference in New Issue
Block a user