fix(cors): autoriser header X-Api-Version
This commit is contained in:
parent
9a119d0421
commit
c65a2a0157
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ app.use(
|
|||
'http://localhost:5174',
|
||||
],
|
||||
allowMethods: ['GET', 'POST', 'OPTIONS'],
|
||||
allowHeaders: ['Content-Type', 'Authorization'],
|
||||
allowHeaders: ['Content-Type', 'Authorization', 'X-Api-Version'],
|
||||
})
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue