The recent minor bump was a breaking change in my setup. I'm using Rails 5.1.2, webpack-dev-server. (Fairly new to JS ecosystem tools, so bear with me...)
I have an nginx proxy set up to route all requests from www.indexical.dev/api to www.indexical.dev:9000. So the ideal routing for assets should be something like: www.indexical.dev/api/packs/application.js
I'm running webpack-dev-server with the following command:
All that works, except that javascript_pack_path in the webpacker gem now gives me the address http:/www.indexical.dev/api/packs/application.js instead of http://www (etc). Somehow the change from v 1.1.2 to v 1.2.0 turned http:// into http:/, so that absolute urls were no longer possible.
Happy to answer more questions -- not exactly sure how to investigate JS issues very well, so apologies.
The recent minor bump was a breaking change in my setup. I'm using Rails 5.1.2, webpack-dev-server. (Fairly new to JS ecosystem tools, so bear with me...)
I have an nginx proxy set up to route all requests from www.indexical.dev/api to www.indexical.dev:9000. So the ideal routing for assets should be something like: www.indexical.dev/api/packs/application.js
I'm running webpack-dev-server with the following command:
And a webpacker config file like so:
All that works, except that
javascript_pack_path
in thewebpacker
gem now gives me the addresshttp:/www.indexical.dev/api/packs/application.js
instead ofhttp://www (etc)
. Somehow the change from v 1.1.2 to v 1.2.0 turned http:// into http:/, so that absolute urls were no longer possible.Happy to answer more questions -- not exactly sure how to investigate JS issues very well, so apologies.