mirror of
https://github.com/revanced/revanced-website.git
synced 2025-04-29 22:24:31 +02:00
fix: production 404 page
vercel moment
This commit is contained in:
parent
fdf9ddbf65
commit
94f547c1b5
@ -8,8 +8,11 @@ const config = {
|
||||
preprocess: preprocess(),
|
||||
|
||||
kit: {
|
||||
// adapter-static has vercel detection, but that does not let you set a custom 404 page easily.
|
||||
// Instead, we have to disable it and set trailing slash to always.
|
||||
adapter: adapter({
|
||||
pages: 'public',
|
||||
pages: "public",
|
||||
fallback: "404.html"
|
||||
}),
|
||||
|
||||
trailingSlash: 'always'
|
||||
|
Loading…
x
Reference in New Issue
Block a user