Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
dacoffey committed Apr 26, 2021
1 parent 8862da9 commit 3abbf21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ App.ServerHander = function (req, res) {
t = t.substring(1);
if (!t.includes(':')) { t = 'http://' + t };
let loc = new URL(t).href;
res.writeHead(301, { Location: loc });
res.writeHead(302, { Location: loc });
res.end(loc + "\n");
}
else if (t && t.startsWith('|')) {
Expand Down

0 comments on commit 3abbf21

Please sign in to comment.