Disable check origin for development
This commit is contained in:
parent
b829f77073
commit
9d2eada5a7
5 changed files with 4 additions and 1 deletions
0
src/lib/components/EventRegisterButton.svelte
Normal file
0
src/lib/components/EventRegisterButton.svelte
Normal file
0
src/lib/telegram.svelte.js
Normal file
0
src/lib/telegram.svelte.js
Normal file
0
src/routes/debug/+page.svelte
Normal file
0
src/routes/debug/+page.svelte
Normal file
0
src/routes/events/[slug]/+page.server.js
Normal file
0
src/routes/events/[slug]/+page.server.js
Normal file
|
@ -6,7 +6,10 @@ const config = {
|
|||
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
|
||||
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
|
||||
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
|
||||
adapter: adapter()
|
||||
adapter: adapter(),
|
||||
csrf: {
|
||||
checkOrigin: false
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue