Serving UI using a base path #4092
-
Hi, like your project but I'm not able to configure it to serve the UI component from a base path, e.g. I managed to show As far as I understood,
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
hi Stephan, thanks for the question. @brandstetterm could you give some pointers for this when you have time? |
Beta Was this translation helpful? Give feedback.
-
Hey @freudl, 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. For some weird reason, |
Beta Was this translation helpful? Give feedback.
Hey @freudl,
thanks for reaching out and sorry for the late response. You're definitely on the right track with setting the
basename
of ourBrowserRouter
. 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 & onewindow.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.…