diff --git a/src/index.ts b/src/index.ts index e55b339..fdc8079 100644 --- a/src/index.ts +++ b/src/index.ts @@ -22,7 +22,7 @@ app.use( 'http://localhost:5173', 'http://localhost:5174', ], - allowMethods: ['GET', 'POST', 'OPTIONS'], + allowMethods: ['GET', 'POST', 'PATCH', 'PUT', 'DELETE', 'OPTIONS'], allowHeaders: ['Content-Type', 'Authorization', 'X-Api-Version'], }) )