ProjectEvergreen / greenwood

Greenwood is your workbench for the web, embracing web standards from the ground up to empower your stack from front to back.
https://www.greenwoodjs.io
MIT License
96 stars 9 forks source link

SPA fallback handling not working (v0.28.0-alpha.1) #1064

Closed thescientist13 closed 1 year ago

thescientist13 commented 1 year ago

Type of Change

Summary

After the v0.28.0-alpha.1 SPA fallback handling and routing does not seem to be working anymore for develop or serve. Basically load a client side route, like /events and refresh the browser, and the page will be broken.

For develop it looks like the .ts. files is getting returned as HTML ![Screen Shot 2023-02-10 at 9 52 12 AM](https://user-images.githubusercontent.com/895923/218909081-97246777-d11b-455f-97 Screen Shot 2023-02-18 at 12 56 21 PM af-8865f719e8e8.png)

For serve, no HTML is being returned at all Screen Shot 2023-02-18 at 12 57 41 PM

Details

Reproduction available on this upgrade branch - https://github.com/AnalogStudiosRI/www.analogstudios.net/pull/85