Quellcode durchsuchen

Merge pull request #6 from medusajs/hotfix/admin-cors-7001

hotfix: Include port 7001 in admin cors
Sebastian Rindom vor 3 Jahren
Ursprung
Commit
72750700cd
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      medusa-config.js

+ 1 - 1
medusa-config.js

@@ -1,5 +1,5 @@
 // CORS when consuming Medusa from admin
-const ADMIN_CORS = process.env.ADMIN_CORS || "http://localhost:7000";
+const ADMIN_CORS = process.env.ADMIN_CORS || "http://localhost:7000,http://localhost:7001";
 
 // CORS to avoid issues when consuming Medusa from a client
 const STORE_CORS = process.env.STORE_CORS || "http://localhost:8000";