fix(cors): autoriser header X-Api-Version

This commit is contained in:
Hermann_Kitio 2026-04-18 03:14:03 +03:00
parent 9a119d0421
commit c65a2a0157

View file

@ -22,7 +22,7 @@ app.use(
'http://localhost:5174',
],
allowMethods: ['GET', 'POST', 'OPTIONS'],
allowHeaders: ['Content-Type', 'Authorization'],
allowHeaders: ['Content-Type', 'Authorization', 'X-Api-Version'],
})
)