2022-07-27 04:19:02 +02:00
|
|
|
import adapter from "@sveltejs/adapter-auto";
|
|
|
|
import preprocess from "svelte-preprocess";
|
2022-07-26 05:03:28 +02:00
|
|
|
|
2022-07-27 04:07:18 +02:00
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
|
|
const config = {
|
2022-07-27 04:19:02 +02:00
|
|
|
// Consult https://github.com/sveltejs/svelte-preprocess
|
|
|
|
// for more information about preprocessors
|
|
|
|
preprocess: preprocess(),
|
2022-07-27 04:07:18 +02:00
|
|
|
|
2022-07-27 04:19:02 +02:00
|
|
|
kit: {
|
|
|
|
adapter: adapter(),
|
2022-07-27 04:07:18 +02:00
|
|
|
|
2022-07-27 04:19:02 +02:00
|
|
|
// Override http methods in the Todo forms
|
|
|
|
methodOverride: {
|
|
|
|
allowed: ["PATCH", "DELETE"],
|
|
|
|
},
|
|
|
|
},
|
2022-07-27 04:07:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|