Skip to content

Commit

Permalink
changing react default port
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Olotu <[email protected]>
  • Loading branch information
kolotu committed Oct 1, 2020
1 parent 01ed344 commit ba24067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vorto-dashboard/src/util/DataPoller.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const request = require('request-promise-native')
const log = require('loglevel')
log.setLevel(process.env.REACT_APP_LOG_LEVEL || 'error')

const PORT = process.env.REACT_APP_PORT || 8080
const PORT = process.env.REACT_APP_PORT || 80

const thingsReqOpts = (filterString) => ({
url: `http://${window.location.hostname}:${PORT}/api/v1/devices?filterString=${filterString}`,
Expand Down

0 comments on commit ba24067

Please sign in to comment.