Skip to content

Commit

Permalink
Update appHandler.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Prevelate8 authored Jul 12, 2024
1 parent c923d9e commit 9e22928
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions core/appHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,18 @@ module.exports.userEditSubmit = function (req, res) {
})
}

module.exports.redirect = function (req, res) {
if (req.query.url) {
res.redirect(req.query.url)
} else {
res.send('invalid redirect url')

module.exports.redirect = function (req, res) {
if (req.query.url) {
res.redirect(req.query.url)
} else {
res.send('invalid redirect url')

module.exports.redirect = function (req, res) {
if (req.query.url) {
res.redirect(req.query.url)
Expand Down

0 comments on commit 9e22928

Please sign in to comment.