I have spun a static site, built as a React app. It is built as part of a monorepo using NX. I have been able to get the app working just fine, set my publish directory to dist/apps/app-name.
But when i try to setup a rewrite rule from
/* → dist/apps/app-name/index.html
it does not work. I do get a status code 200 on a request to a sub-page like “/events” but the response is empty.
I know i’m just doing something wrong, but if someone can give me a htnt as to what the problem might be, it would be greatly appreaciated.