ngx-fast-svg
ngx-fast-svg copied to clipboard
Demo not serving pre-rendered docs
The live demo does not serve the pre-rendered version.
A potential cause is because it is redirecting in production:

This means that when we try to access https://push-based.github.io/ngx-fast-svg/fast-svg?ls=distributed&list=1
We are redirected to from:
https://push-based.github.io/ngx-fast-svg/fast-svg?ls=distributed&list=1
To:
https://push-based.github.io/ngx-fast-svg/fast-svg/?ls=distributed&list=1
This means there is a unnecessary trailing slash with is directing to a page route which is not pre-rendered
/fast-svg/?ls=distributed&list=1 -> /fast-svg?ls=distributed&list=1
TODOS:
- [Â ] Remove trailing slash and redirection in prod
Potentially relevant:
https://dev.to/ayyash/fixing-the-trailing-slash-in-static-site-generation-107k
https://github.com/angular/angular/issues/16051#issuecomment-793005881