Skip to content

Commit

Permalink
Fix fetch status url for staging/prod (#2579)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevan-Y authored Dec 7, 2021
1 parent 0d65fd0 commit c092a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/status/src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if (process.env.PATH_PREFIX) {
service.router.use('/', serveStatic(path.join(__dirname, '../public')));
}

service.router.get('/v1/status/status', (req, res) => {
service.router.get(`${process.env.PATH_PREFIX || ''}/status`, (req, res) => {
check()
.then((status) => {
// This status response shouldn't be cached (we need current status info)
Expand Down

0 comments on commit c092a7f

Please sign in to comment.