fix SELFHOST env on docker-compose

This commit is contained in:
Emily
2025-01-17 18:07:53 +01:00
parent dbcda95823
commit 6b5d23566c
5 changed files with 10 additions and 3 deletions

View File

@@ -3,5 +3,5 @@
const app = useRuntimeConfig();
export function useSelfhosted() {
return app.public.SELFHOSTED === 'TRUE' || app.public.SELFHOSTED === 'true';
return app.public.SELFHOSTED.toString() === 'TRUE' || app.public.SELFHOSTED.toString() === 'true';
}