Skip to content

Commit

Permalink
enable csrf
Browse files Browse the repository at this point in the history
  • Loading branch information
rezk2ll committed Dec 5, 2023
1 parent 4a187ca commit daa1355
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ const config = {
// 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(),
csrf: {
checkOrigin: false
}
adapter: adapter()
}
};

Expand Down

0 comments on commit daa1355

Please sign in to comment.