Skip to content

Commit

Permalink
adapter static
Browse files Browse the repository at this point in the history
  • Loading branch information
xuelink committed Oct 20, 2023
1 parent 6bc400d commit 4e7fd2a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import adapter from '@sveltejs/adapter-auto';
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/kit/vite';

/** @type {import('@sveltejs/kit').Config} */
Expand All @@ -8,13 +8,7 @@ const config = {
preprocess: vitePreprocess(),

kit: {
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: undefined,
precompress: false,
strict: true
})
adapter: adapter()
},
trailingSlash: 'always'
};
Expand Down

0 comments on commit 4e7fd2a

Please sign in to comment.