View in #ohif on Slack
@Riccardo_Sapuppo: In the latest beta, I get “No routes matched location.”
The configuration has remained the same, and I had set a non-root path by setting the public_url in the .env file to /customviewer/ and the routerBasename to /customviewer in the default.js file. With the latest update, it doesn’t work. If I reset everything to /, it works as it does by default.
@Bill_Wallace: I think I messed up the public_url route registration. I’d assumed it was a path like /ohif/ so that one could change the entire public path portion, but it sounds like people use it for just the search page path.
@Riccardo_Sapuppo: So how can we restore the previous behavior now?
@Bill_Wallace: Just leave routerBasename to ‘/’ and it should work. I will update the docs on that, after testing.
Can you let me know if that resolves things? If so, I will just document that accordingly. Otherwise I will look at what it takes to fix it
@Riccardo_Sapuppo: Yes, using ‘/’ works. At this point, the only thing that needs to be modified is the public_url in the .env file. Thanks!