I have a static website using BlitzJS (Similar to NextJS)
My build directory is "dist" and I have another folder "public" that contains static html page called start.html
.
The issue is, when I try to open the static page inside the public page it gets redirected to non-html file name with slash, and its not opening.
I tried to use the redirect in amplify console as below, but non worked for me
</^[^.]+$|\.(?!(css|gif|ico|jpg|js|png|txt|svg|woff|ttf|map|json)$)([^.]+$)/> /index.html 200 (Rewrite)`
And
/public/<*> /public/start.html 404 (Rewrite)
Thanks