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>
|
<script>
|
||||||
import "$/routes/(app)/app.css"
|
import "$/routes/(app)/app.css"
|
||||||
|
|
||||||
import { page } from "$app/stores"
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h1 class="mx-auto mt-10 text-center text-8xl font-normal">
|
<h1 class="mx-auto mt-10 text-center text-8xl font-normal">404</h1>
|
||||||
{$page.status}
|
<h2 class="mx-auto mt-6 text-center text-3xl font-normal">Not Found</h2>
|
||||||
</h1>
|
|
||||||
<h2 class="mx-auto mt-6 text-center text-3xl font-normal">
|
|
||||||
{$page.error?.message}
|
|
||||||
</h2>
|
|
||||||
|
|
|
@ -4,12 +4,6 @@
|
||||||
"target": "main",
|
"target": "main",
|
||||||
"cleanUrls": true,
|
"cleanUrls": true,
|
||||||
"public": "apps/main/build",
|
"public": "apps/main/build",
|
||||||
"rewrites": [
|
|
||||||
{
|
|
||||||
"source": "**",
|
|
||||||
"destination": "/index.html"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"ignore": ["**/.*"]
|
"ignore": ["**/.*"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue