CORS Error with X-Super-Client header #96
-
Hello, after updating API link in MajorOrderSection.tsx c5dfe6d i get CORS Error. LogsAccess to XMLHttpRequest at 'https://api.helldivers2.dev/raw/api/v2/Assignment/War/801' from origin 'https://helldivers-help.vercel.app' has been blocked by CORS policy: Request header field x-super-client is not allowed by Access-Control-Allow-Headers in preflight response. I opened this discussion to ask if I'm doing something wrong or to ask you to add my fan site: Helldivers.help and its vercel beta version: vercel for Russian Helldivers 2 players to your CORS settings. I can also assume, although I'm not sure, that the same error will occur due to the header X-Super-Contact. Let me know what you think @dealloc . |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
no mistake or error on your side, we forgot to update some configuration for browser clients |
Beta Was this translation helpful? Give feedback.
no mistake or error on your side, we forgot to update some configuration for browser clients
a fix is awaiting review in #97 sorry!