From c5a7e704d1c836119319ce3b308642f195b078d9 Mon Sep 17 00:00:00 2001 From: memdmp Date: Wed, 22 Jan 2025 21:19:22 +0100 Subject: feat: canarytool :3 --- src/routes/canaries/napatha:kyun.host/+server.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/routes/canaries/napatha:kyun.host/+server.ts') diff --git a/src/routes/canaries/napatha:kyun.host/+server.ts b/src/routes/canaries/napatha:kyun.host/+server.ts index 260d15e..cca6e7e 100644 --- a/src/routes/canaries/napatha:kyun.host/+server.ts +++ b/src/routes/canaries/napatha:kyun.host/+server.ts @@ -1,5 +1,5 @@ -import { redirect } from '@sveltejs/kit'; - +// CORS moment +export const prerender = true; export const GET = () => { - throw redirect(307, 'https://files.kyun.host/canary.txt'); + return fetch('https://files.kyun.host/canary.txt'); }; -- cgit v1.2.3