Skip to content

Commit

Permalink
fix: actions eb init
Browse files Browse the repository at this point in the history
  • Loading branch information
garciajg committed Dec 15, 2023
1 parent f70daeb commit 6d996a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/development.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ jobs:
aws-region: ${{ secrets.AWS_REGION }}

# Create the Elastic Beanstalk application
# - name: Create EBS application
# run: |
# eb init -p python-3.8 Threshold --region us-east-2
- name: Create EBS application
run: |
eb init -p "Node.js 18 running on 64bit Amazon Linux 2023" Threshold --region ${{ secrets.AWS_REGION }}
# Deploy to (or Create) the Elastic Beanstalk environment
- name: Deploy development environment
Expand Down
3 changes: 1 addition & 2 deletions medusa-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ try {
const ADMIN_CORS =
process.env.ADMIN_CORS || "http://localhost:7000,http://localhost:7001";

console.log('admin cors', ADMIN_CORS);

// CORS to avoid issues when consuming Medusa from a client
const STORE_CORS = process.env.STORE_CORS || "http://localhost:8000";
Expand Down Expand Up @@ -135,7 +134,7 @@ const projectConfig = {
store_cors: STORE_CORS,
database_url: DATABASE_URL,
admin_cors: ADMIN_CORS,
// database_extra: { ssl: { rejectUnauthorized: false } },
database_extra: { ssl: { rejectUnauthorized: false } },
// Uncomment the following lines to enable REDIS
redis_url: REDIS_URL
};
Expand Down

0 comments on commit 6d996a7

Please sign in to comment.