Static Assets: How to deploy a SPA?
Currently I'm using remix with spa mode and deploying it to cf workers, I also have Hono as main entrypoint for my bucket, problem is when i go to the root (
/) I do get served the index.html file and if I navigate using the <Link> component everything goes well, but if i refresh in a path other than / I get 404. Should rewrite the requests with Hono? Is there a similar thing as behaviour in cloudfront where you can specify a certain path always serve a static file?