chore: fix 404 page not working for main site
This commit is contained in:
parent
c105b85a89
commit
ce81f5d59c
2 changed files with 2 additions and 14 deletions
|
@ -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>
|
||||
|
|
|
@ -4,12 +4,6 @@
|
|||
"target": "main",
|
||||
"cleanUrls": true,
|
||||
"public": "apps/main/build",
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "**",
|
||||
"destination": "/index.html"
|
||||
}
|
||||
],
|
||||
"ignore": ["**/.*"]
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue