View in #ohif on Slack
@Rupesh: Hi team, I want to load the UI of a different path then the default one. I want to load it on http://localhost:3000/ohif rather than just http://localhost:3000 but I cannot see anywhere in the file to customize this can anyone help over here?
@Joe_Boccanfuso: Hello @Rupesh. It sounds like the following might help…
• in the OHIF config file set
• before starting the dev server, set the environment variable
@Rupesh: It does not work have tried it it gives this
Cannot GET /ohif
@Joe_Boccanfuso: Ok. Please enter
<http://localhost:3000/ohif/> into the browser’s address bar and see if that works.
Note the trailing/ending slash
@Rupesh: Yes that works but I want direct redirection not manual one like manually entering /OHIF/ in the URL
Like as soon as I load the page it should go to
@Alireza_Sedghi: you should setup redirects in your server