Skip to content

Commit

Permalink
return after a 302
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed Nov 8, 2019
1 parent 62b47ac commit 8944a7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Expand Up @@ -15,6 +15,7 @@ module.exports = async (request, response) => {
response.statusCode = 302
response.setHeader("Location", boop.to)
response.end()
return
}

if (boop.type == symbols.static) {
Expand Down

0 comments on commit 8944a7f

Please sign in to comment.