Feat: Natively support NETIFY environment variables and improve MongoDB detection based on URI presence

This commit is contained in:
ypratama committed 2026-08-28 16:43:00 +07:00
1 parent eedaa588b5
commit 2be8b08074
8 files changed
+16 -16

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ async function seedAuth() {
password_hash: hash,
account_name: 'BackOne Administrator',
role: 'SUPER_ADMIN',
site_uuid: process.env.BACKONE_SITE_UUID || null,
site_uuid: process.env.BACKONE_SITE_UUID || process.env.NETIFY_SITE_UUID || null,
agent_uuid: null,
});
console.log('[Auth] ✓ Default SUPER_ADMIN created: admin / admin');