Skip to content

Commit

Permalink
Fix utility redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
versx authored Jan 11, 2021
1 parent 2a8bf9d commit 1d5200a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ router.get('/logs/delete_all', (req, res) => {
if (result) {
// Success
}
res.redirect('/settings');
res.redirect('/utilities');
});

router.get('/logs/:uuid', async (req, res) => {
Expand Down Expand Up @@ -726,7 +726,7 @@ router.get('/utilities/clear_device_ips', async (req, res) => {
if (result) {
// Success
}
res.redirect('/settings');
res.redirect('/utilities');
});

const get = async (uuid, url) => {
Expand Down

0 comments on commit 1d5200a

Please sign in to comment.