0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-07 18:48:39 +00:00

Remove comment rubish

This commit is contained in:
David Bolack
2026-04-03 15:17:43 -05:00
parent f9632955b0
commit 5bbfc4e5cb
+1 -1
View File
@@ -83,7 +83,7 @@ export default async function createApp(vite) {
if(!origin || origin === 'null' || allowedOrigins.includes(origin) || herokuRegex.test(origin) || (isLocalEnvironment && localNetworkRegex.test(origin))) { if(!origin || origin === 'null' || allowedOrigins.includes(origin) || herokuRegex.test(origin) || (isLocalEnvironment && localNetworkRegex.test(origin))) {
callback(null, true); callback(null, true);
} else { } else {
callback(new Error('Not allowed by CORS, if you think this is an error, please contact us - Skidoosh')); callback(new Error('Not allowed by CORS, if you think this is an error, please contact us'));
} }
}, },
methods : ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'], methods : ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'],