From f1b7e74455aadf106843d9ae8bf55c32110965f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20S=C3=B6derlund?= Date: Sun, 7 Jan 2024 13:44:01 +0100 Subject: [PATCH] Cleaned up test --- .../redirect-submitting/about/+page.svelte | 26 ------------------- .../tests/redirect-submitting/about/+page.ts | 9 ------- 2 files changed, 35 deletions(-) delete mode 100644 src/routes/tests/redirect-submitting/about/+page.svelte delete mode 100644 src/routes/tests/redirect-submitting/about/+page.ts diff --git a/src/routes/tests/redirect-submitting/about/+page.svelte b/src/routes/tests/redirect-submitting/about/+page.svelte deleted file mode 100644 index 7f7946d2..00000000 --- a/src/routes/tests/redirect-submitting/about/+page.svelte +++ /dev/null @@ -1,26 +0,0 @@ - - About - - - -
-

About this app

- -

- This is a SvelteKit app. You can make your own by typing the - following into your command line and following the prompts: -

- -
npm create svelte@latest
- -

- The page you're looking at is purely static HTML, with no client-side interactivity needed. - Because of that, we don't need to load any JavaScript. Try viewing the page's source, or opening - the devtools network panel and reloading. -

- -

- The Sverdle page illustrates SvelteKit's data loading and form handling. Try - using it with JavaScript disabled! -

-
diff --git a/src/routes/tests/redirect-submitting/about/+page.ts b/src/routes/tests/redirect-submitting/about/+page.ts deleted file mode 100644 index e739ef4b..00000000 --- a/src/routes/tests/redirect-submitting/about/+page.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { dev } from '$app/environment'; - -// we don't need any JS on this page, though we'll load -// it in dev so that we get hot module replacement -export const csr = dev; - -// since there's no dynamic data here, we can prerender -// it so that it gets served as a static asset in production -export const prerender = true;