Mongoku icon indicating copy to clipboard operation
Mongoku copied to clipboard

Unable to use a different path than /

Open kamzata opened this issue 5 years ago • 4 comments

When I run Mongoku on https://mydomain.com/ it works. When I try to set it to run on (e.g.) https://mydomain.com/mongo/ it do not work. It shows a blank page. Inspecting it I could find out that .css and .js resources are not available because it try to load it on root absolute path (https://mydomain.com/).

kamzata avatar Aug 03 '19 12:08 kamzata

Indeed, you need to specify the path during the build phase using —baseHref=“/mongo”

n1t0 avatar Aug 03 '19 13:08 n1t0

Indeed, you need to specify the path during the build phase using —baseHref=“/mongo”

Thanks, I installed it using npm. Is there a way to set the path anyway?

kamzata avatar Aug 04 '19 09:08 kamzata

Would be ideal to pass in the path though environment variables, thanks for the great work on this UI!

ddempsey3 avatar Oct 07 '19 18:10 ddempsey3

I'm facing the same problem. To me using npm it's not valid, because I'm using docker. It would be great to implement @ddempsey3 ideia.

Serrvosky avatar Mar 04 '20 14:03 Serrvosky