|
@@ -1,8 +1,8 @@
|
|
// CORS when consuming Medusa from admin
|
|
// CORS when consuming Medusa from admin
|
|
-const ADMIN_CORS = "https://app.medusa-commerce.com";
|
|
|
|
|
|
+const ADMIN_CORS = process.env.ADMIN_CORS || "https://app.medusa-commerce.com";
|
|
|
|
|
|
// CORS to avoid issues when consuming Medusa from a client
|
|
// CORS to avoid issues when consuming Medusa from a client
|
|
-const STORE_CORS = "http://localhost:8000";
|
|
|
|
|
|
+const STORE_CORS = process.env.STORE_CORS || "http://localhost:8000";
|
|
|
|
|
|
// Database URL (here we use a local database called medusa-development)
|
|
// Database URL (here we use a local database called medusa-development)
|
|
const DATABASE_URL = "postgres://localhost/medusa-development";
|
|
const DATABASE_URL = "postgres://localhost/medusa-development";
|