Fix cors issues
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -82,7 +82,8 @@ const app = new Elysia({
|
||||
.use(
|
||||
cors({
|
||||
origin: '*',
|
||||
methods: ['POST', 'GET']
|
||||
methods: ['POST', 'GET'],
|
||||
exposeHeaders: '*'
|
||||
})
|
||||
)
|
||||
.use(
|
||||
|
||||
Reference in new issue
Block a user