mirror of
https://github.com/ReVanced/revanced-website.git
synced 2026-01-11 05:36:17 +00:00
refactor: restructure folder layout
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import adapter from '@sveltejs/adapter-static';
|
||||
import preprocess from 'svelte-preprocess';
|
||||
import path from 'path';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
@@ -11,12 +12,12 @@ const config = {
|
||||
// adapter-static has vercel detection, but that does not let you set a custom 404 page easily.
|
||||
// Instead, we have to use a wrapper that generates a vercel config if on vercel...
|
||||
adapter: adapter({
|
||||
pages: "public",
|
||||
fallback: "404.html"
|
||||
pages: 'public',
|
||||
fallback: '404.html'
|
||||
}),
|
||||
env: {
|
||||
publicPrefix: "RV"
|
||||
}
|
||||
publicPrefix: 'RV'
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user