From fc0ee5a4d6f7a5b4e8e339a4bd19616f00f01de7 Mon Sep 17 00:00:00 2001 From: Pc Date: Sat, 3 Jan 2026 18:43:12 +0100 Subject: [PATCH] fix: typo fix --- kittyurl-frontend/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kittyurl-frontend/vite.config.ts b/kittyurl-frontend/vite.config.ts index f5ae0de..e06a012 100644 --- a/kittyurl-frontend/vite.config.ts +++ b/kittyurl-frontend/vite.config.ts @@ -26,7 +26,7 @@ const domainRedirectPlugin = (targetUrl: string, useSubdomains: boolean, debug: // Przekieruj jeśli: // 1. To subdomena localhosta (do testów) // 2. LUB to subdomena ktty.is, a subdomeny są wyłączone - if ((isSubdomainOfLocalhost && hostname !== 'localhost') || (!useSubdomains && hostname !== targetHost && !isPureLocalhost)) { + if ((isSubdomainOfLocalhost && hostname !== 'localhost') || (useSubdomains && hostname !== targetHost && !isPureLocalhost)) { if (debug) console.log(`[Redirect] Z ${hostname} na ${targetUrl}`); res.writeHead(301, { Location: `${targetUrl}${req.url}` });