chinedufn / percy

Build frontend browser apps with Rust + WebAssembly. Supports server side rendering.
https://chinedufn.github.io/percy/
Apache License 2.0
2.26k stars 84 forks source link

Get client wasm file relative to base route rather than current route #125

Closed murtyjones closed 5 years ago

murtyjones commented 5 years ago

When hard-refreshing against a non-root route in the isomorphic example, the client WASM file's retrieval is attempted relative to the current route rather than the root.

Example

Screen Shot 2019-06-02 at 1 15 28 PM

companies/static/client_bg.wasm should be static/client_bg.wasm, which this PR addresses.

chinedufn commented 5 years ago

Sweeeeeet - thanks!