mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
fix selfhost
This commit is contained in:
@@ -66,7 +66,7 @@ export default defineEventHandler(async event => {
|
||||
const { project, project_id, user } = data;
|
||||
|
||||
|
||||
if (SELFHOSTED !== 'TRUE') {
|
||||
if (SELFHOSTED !== 'TRUE' && SELFHOSTED !== 'true') {
|
||||
const PREMIUM_TYPE = project.premium_type;
|
||||
if (PREMIUM_TYPE === 0) return setResponseStatus(event, 400, 'Project not premium');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user