Explorar o código

added auth cors

Shahed Nasser hai 1 ano
pai
achega
e2f899a3eb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      medusa-config.js

+ 1 - 0
medusa-config.js

@@ -144,6 +144,7 @@ const projectConfig = {
   store_cors: STORE_CORS,
   database_url: DATABASE_URL,
   admin_cors: ADMIN_CORS,
+  auth_cors: process.env.AUTH_CORS || ADMIN_CORS
   // Uncomment the following lines to enable REDIS
   // redis_url: REDIS_URL
 };