Update options request

This commit is contained in:
Andras Bacsai 2022-03-11 20:52:11 +01:00
parent 48f952c798
commit 16ea9a3e07
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ import { dev } from '$app/env';
export const options: RequestHandler = async () => {
return {
status: 200,
status: 204,
headers: {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Headers': 'Content-Type, Authorization',

View File

@ -9,7 +9,7 @@ import { dev } from '$app/env';
export const options: RequestHandler = async () => {
return {
status: 200,
status: 204,
headers: {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Headers': 'Content-Type, Authorization',

View File

@ -7,7 +7,7 @@ import cookie from 'cookie';
export const options: RequestHandler = async () => {
return {
status: 200,
status: 204,
headers: {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Headers': 'Content-Type, Authorization',