feat: fixed #links, static-adapter works
This commit is contained in:
parent
bbbb5e9f5b
commit
4efe10b166
11 changed files with 64 additions and 44 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import adapter from "@sveltejs/adapter-node";
|
||||
// import adapter from "@sveltejs/adapter-node";
|
||||
import adapter from "@sveltejs/adapter-static";
|
||||
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
|
||||
import { mdsvex } from 'mdsvex';
|
||||
|
||||
|
|
@ -15,7 +16,11 @@ const config = {
|
|||
})
|
||||
],
|
||||
|
||||
kit: { adapter: adapter() },
|
||||
kit: {
|
||||
adapter: adapter({
|
||||
fallback: '200.html'
|
||||
})
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue