Skip to content

Commit

Permalink
Use adapter auto.
Browse files Browse the repository at this point in the history
  • Loading branch information
tranthihaiyen102 committed Dec 5, 2022
1 parent bf71ab9 commit ac63bc7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import adapterAuto from '@sveltejs/adapter-auto'
import adapterNode from '@sveltejs/adapter-node'
import preprocess from 'svelte-preprocess'

/** @type {import('@sveltejs/kit').Config} */
Expand All @@ -15,7 +14,7 @@ const config = {
],

kit: {
adapter: process.env.NODE_SERVER ? adapterNode() : adapterAuto(),
adapter: adapterAuto(),
csrf: {
checkOrigin: false,
},
Expand Down

0 comments on commit ac63bc7

Please sign in to comment.