Update options request
This commit is contained in:
parent
48f952c798
commit
16ea9a3e07
@ -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',
|
||||
|
@ -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',
|
||||
|
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user