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
@@ -54,7 +54,7 @@ router.post('/agent-locations', async (req, res) => {
siteUuid = summaryDoc.site_uuid;
} else {
// Fallback or use standard env site_uuid
siteUuid = process.env.BACKONE_SITE_UUID || '6681452d_9cae_4ff4_8ae8_0d504774265e';
siteUuid = process.env.BACKONE_SITE_UUID || process.env.NETIFY_SITE_UUID || '6681452d_9cae_4ff4_8ae8_0d504774265e';
}
}