changed project structure

This commit is contained in:
J-onasJones 2024-11-08 21:12:26 +01:00
parent 4d5bb7da1e
commit 3b4397dd23
14 changed files with 749 additions and 3219 deletions

View file

@ -1,19 +1,13 @@
import adapter from '@sveltejs/adapter-cloudflare';
export default {
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
adapter: adapter({
// See below for an explanation of these options
routes: {
include: ['/*'],
exclude: ['<all>']
},
platformProxy: {
configPath: 'wrangler.toml',
environment: undefined,
experimentalJsonConfig: false,
persist: false
}
})
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter()
}
};
};
export default config;