diff --git a/.github/workflows/ci-cd.yaml b/.github/workflows/ci-cd.yaml index 787134b..6311dd2 100644 --- a/.github/workflows/ci-cd.yaml +++ b/.github/workflows/ci-cd.yaml @@ -22,7 +22,7 @@ jobs: with: ref: ${{ github.sha }} backend_host: ec2-98-81-131-31.compute-1.amazonaws.com - backend_url: http://ec2-98-81-131-31.compute-1.amazonaws.com + backend_url: http://ec2-98-81-131-31.compute-1.amazonaws.com:5000 secrets: inherit cd-frontend: @@ -33,5 +33,5 @@ jobs: bucket_name: anyhasher-big-bang frontend_host: anyhasher-big-bang.s3-website-us-east-1.amazonaws.com backend_host: ec2-98-81-131-31.compute-1.amazonaws.com - backend_url: http://ec2-98-81-131-31.compute-1.amazonaws.com + backend_url: http://ec2-98-81-131-31.compute-1.amazonaws.com:5000 secrets: inherit \ No newline at end of file diff --git a/backend/src/server.config.js b/backend/src/server.config.js index 9a900a5..f17e8b7 100644 --- a/backend/src/server.config.js +++ b/backend/src/server.config.js @@ -5,7 +5,7 @@ module.exports = { script: "./server.js", watch: true, env: { - "PORT": 80, + "PORT": 5000, "NODE_ENV": "production" } }