chore: fix 404 page not working for main site

This commit is contained in:
Kim, Jimin 2023-07-28 22:39:38 +09:00
parent c105b85a89
commit ce81f5d59c
Signed by: pomp
GPG key ID: CE1DDB8A4A765403
2 changed files with 2 additions and 14 deletions

View file

@ -1,12 +1,6 @@
<script>
import "$/routes/(app)/app.css"
import { page } from "$app/stores"
</script>
<h1 class="mx-auto mt-10 text-center text-8xl font-normal">
{$page.status}
</h1>
<h2 class="mx-auto mt-6 text-center text-3xl font-normal">
{$page.error?.message}
</h2>
<h1 class="mx-auto mt-10 text-center text-8xl font-normal">404</h1>
<h2 class="mx-auto mt-6 text-center text-3xl font-normal">Not Found</h2>

View file

@ -4,12 +4,6 @@
"target": "main",
"cleanUrls": true,
"public": "apps/main/build",
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
],
"ignore": ["**/.*"]
},
{