Florin
02/09/2024, 2:13 PMCors-Origin Resource Sharing error: MissingAllowOriginHeader
.
When sending the image request, the browser adds an Origin
and a Referer
header. This seems relevant because the browser app I'm rewriting, doesn't send these two headers and images load correctly.
I am new to kotlin compose and wasm and I don't know how to control the image request headers in wasm/kotlin compose. Any help is appreciated.
Thanks!Chrimaeon
02/09/2024, 2:20 PMFlorin
02/09/2024, 2:21 PMChrimaeon
02/09/2024, 2:22 PMlocalhost
urls? And the existing one is deployed and uses a “real” url?Florin
02/09/2024, 2:22 PMChrimaeon
02/09/2024, 2:23 PMFlorin
02/09/2024, 2:24 PMFlorin
02/09/2024, 2:32 PMChrimaeon
02/09/2024, 2:35 PMfetch
method which uses CORS for security reasons.Chrimaeon
02/09/2024, 2:37 PMHEAD
requests which actually checks the CORS settings for the resource you try to load from wasmFlorin
02/09/2024, 2:40 PMChrimaeon
02/09/2024, 2:42 PMPablichjenkov
02/09/2024, 2:48 PMFlorin
02/09/2024, 2:49 PM