This repository has been archived by the owner on Mar 5, 2021. It is now read-only.
Known issue: Serverless staging
path rewrites messing with links
#5
Labels
On AWS, I can't get Next.js to work correctly because of the Serverless
staging
path rewrite:The main page (
https://11lwiykejg.execute-api.us-east-1.amazonaws.com/development/
) works fine, but:https://11lwiykejg.execute-api.us-east-1.amazonaws.com/page2
, it's missing the/development
part and the browser will display{"message":"Forbidden"}
development
part (by removing thestaging
part of the url entirely, which fixes the issue):- https://swn.dev.vadorequest.fr
- https://swn.dev.vadorequest.fr/page2
The text was updated successfully, but these errors were encountered: