the redirects are not meant to be permanent

This commit is contained in:
Erin 2023-09-08 07:44:04 -04:00
parent cb5778377e
commit 6243a7d80d

View file

@ -9,7 +9,7 @@ const text = (response, body, code = 200) => {
response.writeHead(code, {'Content-Type': 'text/plain'}).write(body);
response.end();
};
const redirect = (res, url) => res.writeHead(301, {Location: url}).end();
const redirect = (res, url) => res.writeHead(302, {Location: url}).end();
const toSite = (response, from, offset) => {
const index = sites.findIndex(site => site === from);