updating
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ async function bootstrap() {
|
||||
|
||||
// Enable CORS. You can set `CORS_ORIGINS` to a comma-separated list of allowed origins.
|
||||
// Defaults include common localhost origins used by front-end dev servers.
|
||||
const defaultOrigins = ['*', 'http://localhost:3001']
|
||||
const defaultOrigins = ['*', 'http://localhost:5000']
|
||||
const envOrigins = process.env.CORS_ORIGINS
|
||||
? process.env.CORS_ORIGINS.split(',')
|
||||
.map(s => s.trim())
|
||||
|
||||
Reference in New Issue
Block a user