feat: switch to Cloudflare Pages
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import preprocess from 'svelte-preprocess'
|
||||
import adapter from '@sveltejs/adapter-vercel'
|
||||
import adapter from '@sveltejs/adapter-cloudflare'
|
||||
import { fileURLToPath } from 'url'
|
||||
import { dirname } from 'path'
|
||||
|
||||
@@ -18,7 +18,10 @@ const config = {
|
||||
|
||||
kit: {
|
||||
adapter: adapter({
|
||||
runtime: 'edge',
|
||||
routes: {
|
||||
include: ['/*'],
|
||||
exclude: ['<all>']
|
||||
}
|
||||
}),
|
||||
alias: {
|
||||
$components: 'src/components',
|
||||
|
||||
Reference in New Issue
Block a user