Make accessible wasm32 and wasm32-pthread folders of Viewer package over http(s)
These folders contains dynamically loaded modules and wasm files.
Add "Cross-Origin-Embedder-Policy": "require-corp",
"Cross-Origin-Opener-Policy": "same-origin" headers to the dev server config.
They are necessary for Viewer working in multithreading mode.
https connection is necessary for usage on production servers,
otherwise a single-threading version will be loaded.
Intermediate caching servers (like nginx) should be also configured
to take into account above-mentioned requirements or to disable cache for specific files (.wasm, .js).