feat: backend reverse proxy

This commit is contained in:
Timothy J. Baek 2023-11-14 16:28:51 -08:00
parent 611b10a79d
commit 6a9bef755b
13 changed files with 179 additions and 13 deletions

View file

@ -2,4 +2,10 @@
import { page } from '$app/stores';
</script>
<div>{$page.status}: {$page.error.message}</div>
<div class=" bg-white dark:bg-gray-800 min-h-screen">
<div class=" flex h-full">
<div class="m-auto my-10 dark:text-gray-300 text-3xl font-semibold">
{$page.status}: {$page.error.message}
</div>
</div>
</div>

View file

@ -1,13 +1,13 @@
// if you want to generate a static html file
// for your page.
// Documentation: https://kit.svelte.dev/docs/page-options#prerender
export const prerender = true;
// export const prerender = true;
// if you want to Generate a SPA
// you have to set ssr to false.
// This is not the case (so set as true or comment the line)
// Documentation: https://kit.svelte.dev/docs/page-options#ssr
// export const ssr = false;
export const ssr = false;
// How to manage the trailing slashes in the URLs
// the URL for about page witll be /about with 'ignore' (default)