fix: CORS headers for firefox

This commit is contained in:
Kentai Radiquum 2025-08-22 00:41:17 +05:00
parent c8a7a38b52
commit ee68300501
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
4 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
export const corsHeaders = {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Headers": "Origin, X-Requested-With, Content-Type, Accept",
"Access-Control-Allow-Headers": "Origin, X-Requested-With, Content-Type, Accept, Allow, User-Agent",
"Access-Control-Allow-Methods": "GET,HEAD,POST,OPTIONS",
"Cache-Control": "no-cache",
};