Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to serve Unity/Brotli #844

Open
dakom opened this issue Dec 7, 2022 · 4 comments · May be fixed by #852
Open

Fails to serve Unity/Brotli #844

dakom opened this issue Dec 7, 2022 · 4 comments · May be fixed by #852
Labels

Comments

@dakom
Copy link

dakom commented Dec 7, 2022

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

  1. OS Type: OSX
  2. Node version: v16.13.1
  3. http-server version: v14.1.1
@BaguetteEater
Copy link

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.

@De-Panther De-Panther linked a pull request Feb 6, 2023 that will close this issue
8 tasks
@github-actions
Copy link

This issue has been inactive for 180 days

@github-actions github-actions bot added the stale label Jul 29, 2023
@cosmoburn
Copy link

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'

@github-actions github-actions bot removed the stale label May 12, 2024
Copy link

github-actions bot commented Nov 8, 2024

This issue has been inactive for 180 days

@github-actions github-actions bot added the stale label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants