From 3abbf21f791c72ba5f8b2197e0ef80244e246982 Mon Sep 17 00:00:00 2001 From: DAC Date: Mon, 26 Apr 2021 03:13:34 -0400 Subject: [PATCH] . --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index fea6b3a..b1276b0 100644 --- a/app.js +++ b/app.js @@ -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('|')) {