Skip to content

Commit

Permalink
added STORE_CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
DevHumbleChris committed Aug 10, 2023
1 parent a302243 commit ad91631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion medusa-admin/medusa-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ 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";
const STORE_CORS = process.env.STORE_CORS || process.env.STORE_CORS_GITPOD;

const DATABASE_URL =
process.env.DATABASE_URL || "postgres://localhost/medusa-store";
Expand Down

0 comments on commit ad91631

Please sign in to comment.