Skip to content

Commit

Permalink
change to port 3000
Browse files Browse the repository at this point in the history
  • Loading branch information
lauren-mieczkowski committed Jan 11, 2024
1 parent 764c937 commit 56e585a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN export NODE_OPTIONS="--openssl-legacy-provider"
COPY . ./

# Expose port 7001
EXPOSE 7001
EXPOSE 3000

# Start Nginx to serve the application
CMD ["yarn", "run", "start"]
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@
},
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"build": "PORT=7001 react-scripts build",
"build": "PORT=3000 react-scripts build",
"build:staging": "env-cmd -f .env.staging npm run build",
"build:production": "env-cmd -f .env.production npm run build",
"predeploy": "yarn run build:production",
"deploy": "gh-pages -d build",
"start": "PORT=7001 react-scripts start",
"test": "PORT=7001 react-scripts test"
"start": "PORT=3000 react-scripts start",
"test": "PORT=3000 react-scripts test"
},
"eslintConfig": {
"extends": [
Expand Down
2 changes: 1 addition & 1 deletion src/connect/components/DeviceForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const DeviceForm = ({
}
})
.catch(function (error) {
alert('Error!')
alert('Error!');
console.log(JSON.stringify(error));
if (error.response) {
// The request was made and the server responded with a status code
Expand Down

0 comments on commit 56e585a

Please sign in to comment.