You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exporting a WebGL build from unity and then running http-server -o --cors --brotli
I see Serve Brotli Files is true, but I get an error where files like Build/world.framework.js.br are not being served with Content-Encoding: br in the response header.
Ultimately this means Unity WebGL builds are not viewable with http-server
Environment Versions
OS Type: OSX
Node version: v16.13.1
http-server version: v14.1.1
The text was updated successfully, but these errors were encountered:
I'm having the same issue here on windows and trying to serve unity webgl files.
I tried to find a correct mimetype to put in with the option --mimetype but I have been unsuccesful so far.
But I think the way to make it work is this option to force the type on the brotli file.
Exporting a WebGL build from unity and then running
http-server -o --cors --brotli
I see
Serve Brotli Files
is true, but I get an error where files likeBuild/world.framework.js.br
are not being served withContent-Encoding: br
in the response header.Ultimately this means Unity WebGL builds are not viewable with
http-server
Environment Versions
v16.13.1
v14.1.1
The text was updated successfully, but these errors were encountered: