You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
any tips on how to get direct links to work when hosting a NextJs static website using single-page-app?
When the links like example.com/foo are clicked with the mouse they work jsut fine, but when the URL is typed directly in the bworser the home page is displayed.
I migrated this app from Amplify to serverless-lift and in Amplify I had to add a redirect rule to get it working. What would be the equivalent with lift?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there,
any tips on how to get direct links to work when hosting a NextJs static website using single-page-app?
When the links like example.com/foo are clicked with the mouse they work jsut fine, but when the URL is typed directly in the bworser the home page is displayed.
I migrated this app from Amplify to serverless-lift and in Amplify I had to add a redirect rule to get it working. What would be the equivalent with lift?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions