use dedicated ip on any ip. hostname
diff --git a/src/app/root.tsx b/src/app/root.tsx
index 21ffcbb..8dd98ec 100644
--- a/src/app/root.tsx
+++ b/src/app/root.tsx
@@ -26,7 +26,7 @@
export const loader: LoaderFunction = async ({ request, context }) => {
const url = new URL(request.url);
- const isDedicatedIPPage = (url.hostname === "ip.jottocraft.com") || (url.hostname === "ip.jotto.pw");
+ const isDedicatedIPPage = url.hostname.startsWith("ip.");
if (isDedicatedIPPage) {
return getIPData(request, (context as any).cf, true);
} else {