Remove comment rubish
This commit is contained in:
1 parent
f9632955b0
commit
5bbfc4e5cb
1 file changed
+1
-1
+1
-1
@@ -83,7 +83,7 @@ export default async function createApp(vite) {
|
||||
if(!origin || origin === 'null' || allowedOrigins.includes(origin) || herokuRegex.test(origin) || (isLocalEnvironment && localNetworkRegex.test(origin))) {
|
||||
callback(null, true);
|
||||
} 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'],
|
||||
|
||||
Reference in new issue
Block a user