mirror of
https://github.com/revanced/revanced-website.git
synced 2025-04-29 22:24:31 +02:00
commit
e43a0eb819
@ -8,8 +8,11 @@ const config = {
|
|||||||
preprocess: preprocess(),
|
preprocess: preprocess(),
|
||||||
|
|
||||||
kit: {
|
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({
|
adapter: adapter({
|
||||||
pages: 'public',
|
pages: "public",
|
||||||
|
fallback: "404.html"
|
||||||
}),
|
}),
|
||||||
|
|
||||||
trailingSlash: 'always'
|
trailingSlash: 'always'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user