Description
When serving the console from a router with a listener that has http: true, files with extensions of .json and .woff2 fail to load.
To reproduce:
- setup a router with an http listener (ie. on port 5673)
- load the console from a browser using that port (localhost:5673/)
- attempt to load the file localhost:5673/plugin/data/world-110m.json
What you get:
a 404 page
What you should get:
the contents of the file
Just to verify:
- copy a .js file to the plugin/data/ directory where the console is installed
- attempt to load localhost:5673/plugin/data/name_of_js_file.js
- you should see the .js file in the browser. It's just .json and .woff2 files that won't load
- also to verify: if you load the console from an apache web server, the plugin/data/world-110m.json loads just fine.
The .woff2 files are fonts. You can see that they fail to load in the browser's debugging console -> Network tab.