Open dimsmol opened 2 years ago
all.js
is served without hash because it predates the hashing mechanism we use for assets. That said, we can definitely improve the logic by having the page supply the hashed version.
As for the JS assets issue, that is definitely a bug-like condition, so we will look into it. Apologies for the long delay in response.
Obelisk version:
v0.9.1.0
I've noticed the following differences in serving static assets vs serving JS:
1sjgs70sb2mpmx4k6608n42f0d1y5xxyaf7f4pl5hl961xzjzy7n-main.css
all.js
and that route redirects to the name with hash, adding an extra round tripbackend
started from the wrong directory (e.g. if rantest-app/backend
instead ofcd test-app && ./backend
) while JS routes respond with 404 in that caseRelated questions:
all.js
without hash and making a redirect?