Skip to content

Commit 27f5739

Browse files
committed
add CORS for maps.deflock.rog
1 parent 64ac4c2 commit 27f5739

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

api/server.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ const start = async () => {
4141
'http://localhost:5173', // DeFlock Legacy
4242
'http://localhost:3000', // FlockHopper
4343
'https://deflock.org',
44-
'https://www.deflock.org'
44+
'https://www.deflock.org',
45+
'https://maps.deflock.org'
4546
];
4647

4748
if (!origin || allowedOrigins.includes(origin) || /^https:\/\/.*\.deflock\.pages\.dev$/.test(origin)) {

0 commit comments

Comments
 (0)