Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow correct redirects for apps using next basePath #47

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RokoTechnology
Copy link

@RokoTechnology RokoTechnology commented Jan 9, 2023

see issue #45

@CLAassistant
Copy link

CLAassistant commented Jan 9, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@aeneasr aeneasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you for your contribution! This looks pretty good and I have some ideas how to improve it further :)

Comment on lines +120 to +123
/*
* You can pass your next.config.js basePath here if your app lives on a subpath of the domain.
*/
appBasePath?: string
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to instead load this from next itself directly? That way we can avoid another config parameter and it would just work with magic? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants