i use react-snap to generate static pages,
# help
e
i use react-snap to generate static pages,
f
Hey @Ernie Francis, do u mean redirecting to
index.html
on 404 pages?
e
maybe, im using a static site generator similar to gatsby (parcel v2 with react-snap running postbuild). react-snap is a static site generator that queries your routes with puppeteer and generates html pages for each route.
i think cloudfront is redirecting all my traffic to the root index.html.
weird. i tried your fix and im getting 403 errors outside querying outside/index.html
so an update, if i do domain.com/test/index.html the route works, but if i do /test i get the 403 response (not 404)