mirror of
https://github.com/JonasunderscoreJones/BingoGenerator.git
synced 2025-10-23 04:19:20 +02:00
added cloudflare adapter
This commit is contained in:
parent
41ea5753c4
commit
95cebe222a
5 changed files with 2513 additions and 20 deletions
|
@ -1,18 +1,19 @@
|
|||
import adapter from '@sveltejs/adapter-auto';
|
||||
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
// Consult https://svelte.dev/docs/kit/integrations
|
||||
// for more information about preprocessors
|
||||
preprocess: vitePreprocess(),
|
||||
import adapter from '@sveltejs/adapter-cloudflare';
|
||||
|
||||
export default {
|
||||
kit: {
|
||||
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
|
||||
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
|
||||
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
|
||||
adapter: adapter()
|
||||
adapter: adapter({
|
||||
// See below for an explanation of these options
|
||||
routes: {
|
||||
include: ['/*'],
|
||||
exclude: ['<all>']
|
||||
},
|
||||
platformProxy: {
|
||||
configPath: 'wrangler.toml',
|
||||
environment: undefined,
|
||||
experimentalJsonConfig: false,
|
||||
persist: false
|
||||
}
|
||||
})
|
||||
}
|
||||
};
|
||||
|
||||
export default config;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue