Removed useless "fix" of http status

This commit is contained in:
Daniel Zegarra 2023-04-23 18:37:29 +02:00
commit 0c15f8b308

View file

@ -32,7 +32,6 @@ async function buildCache(host) {
expand = true;
}
if(!['301', '302'].includes(httpStatus)) {
httpStatus = '301';
throw new Error(`The record "${url}" wants to use the http status code ${httpStatus} which is not allowed (only 301 and 302)`);
}
return {