Skip to content

Serving UI using a base path #4092

Closed Answered by brandstetterm
freudl asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @freudl,
thanks for reaching out and sorry for the late response. You're definitely on the right track with setting the basename of our BrowserRouter. Since our landing page is a separate project, we had to use some <a href="/"> instead of the <Link> component. Therefore, you have to update some the hrefs & one window.location.pathname to include your new basename in the components BoardHeader, LoginBoard, NewBoard and Legal.

Also, the problem with our login is the following: If a unauthenticated client tries to access either a board or the page to create a new board, he will be redirected to our login page. After the client logged in, it will be redirected to the page visited before.…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@brandstetterm
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by freudl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants