add CORS for maps.deflock.rog

This commit is contained in:
Will Freeman
2026-04-19 15:31:13 -06:00
parent 64ac4c227e
commit 27f57399d6
+2 -1
View File
@@ -41,7 +41,8 @@ const start = async () => {
'http://localhost:5173', // DeFlock Legacy
'http://localhost:3000', // FlockHopper
'https://deflock.org',
'https://www.deflock.org'
'https://www.deflock.org',
'https://maps.deflock.org'
];
if (!origin || allowedOrigins.includes(origin) || /^https:\/\/.*\.deflock\.pages\.dev$/.test(origin)) {