Explorar el Código

Update CORS origin to specific development URL

yazid138 hace 3 semanas
padre
commit
fbf8b7feb3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app.js

+ 1 - 1
app.js

@@ -14,7 +14,7 @@ app.use(logger('dev'))
 app.use(express.json())
 app.use(
   cors({
-    origin: process.env.CORS_ORIGIN || '*',
+    origin: 'https://dev-sidali.kemdiktisaintek.go.id',
     credentials: true,
   })
 )