Open dakom opened 1 year ago
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.
This issue has been inactive for 180 days
yup, doesn't work for me either, says the flag is set to true but does not actually serve the files with 'Content-Encoding', 'br'
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