Changes
This commit is contained in:
@@ -10,7 +10,7 @@ export default fp(async (server: FastifyInstance) => {
|
||||
],
|
||||
methods: ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
|
||||
allowedHeaders: ["Content-Type", "Authorization", "Context"],
|
||||
exposedHeaders: ["Authorization"], // optional, falls du ihn auch auslesen willst
|
||||
exposedHeaders: ["Authorization", "Content-Disposition", "Content-Type", "Content-Length"], // optional, falls du ihn auch auslesen willst
|
||||
credentials: true, // wichtig, falls du Cookies nutzt
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user