Skip to content

Commit

Permalink
Correctly redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
Amelia Ikeda committed Jan 2, 2016
1 parent 3b1f52c commit 54d50cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ app.get('/', function (req, res) {
});

app.get('/main.mp3', function (req, res) {
res.location(status.choose())
res.end()
res.redirect(302, status.choose())
});

app.get('/status.json', function (req, res) {
Expand Down

0 comments on commit 54d50cc

Please sign in to comment.