Remove old tests

This commit is contained in:
shamoon
2026-02-04 21:01:13 -08:00
parent ab869f042a
commit 6b6457cb5d
2 changed files with 51 additions and 33 deletions

View File

@@ -8,7 +8,6 @@ let warnedAllowedHosts = false;
export async function middleware(req) {
if (!warnedAllowedHosts && process.env.HOMEPAGE_ALLOWED_HOSTS) {
warnedAllowedHosts = true;
// eslint-disable-next-line no-console
console.warn(
"HOMEPAGE_ALLOWED_HOSTS is deprecated. To secure a publicly accessible homepage, configure authentication instead.",
);