aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-03-08 06:28:10 +0000
committerFuwn <[email protected]>2022-03-08 06:28:10 +0000
commit0977b9ad4bd0eb51a79176f3b659c1f4d295759b (patch)
tree666834afe8ce01e3b8cd3abf3424ec6765a5d3f6
parentrefactor: build for static (diff)
downloadarchived-frontend-next-0977b9ad4bd0eb51a79176f3b659c1f4d295759b.tar.xz
archived-frontend-next-0977b9ad4bd0eb51a79176f3b659c1f4d295759b.zip
fix(config): prerender all
-rw-r--r--svelte.config.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/svelte.config.js b/svelte.config.js
index c4b03fa..770f591 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -10,10 +10,7 @@ const config = {
kit: {
adapter: adapter(),
- // Override http methods in the Todo forms
- methodOverride: {
- allowed: ["PATCH", "DELETE"],
- },
+ prerender: true,
},
};