From 27f57399d65f9354a859a7589631261fbefe7624 Mon Sep 17 00:00:00 2001 From: Will Freeman Date: Sun, 19 Apr 2026 15:31:13 -0600 Subject: [PATCH] add CORS for maps.deflock.rog --- api/server.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/server.ts b/api/server.ts index ea286db..67d011a 100644 --- a/api/server.ts +++ b/api/server.ts @@ -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)) {