You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, when accessed via /db, the frontend appears to request some resources from the root path (e.g. https://example.com/assets/... instead of https://example.com/db/assets/...), so a straightforward sub-path proxy results in 404s.
I also noticed there may be other paths involved (for example routes like /inter, and API endpoints like /api/query). In a sub-path deployment, should those be expected to live under /db/inter and /db/api/query as well? And if so, is there (or could there be) a config option to control this (e.g. basePath / publicUrl / apiBasePath), so users can choose whether to prefix UI routes, static assets, and API paths?
I couldn’t find a configuration knob for this—does WhoDB currently support sub-path hosting? If not, would you be open to a PR adding it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi WhoDB team,
I’m deploying WhoDB behind a reverse proxy and would like to serve it under a sub-path, for example:
• https://example.com/db (so I can host multiple services on one domain)
Right now, when accessed via
/db, the frontend appears to request some resources from the root path (e.g. https://example.com/assets/... instead of https://example.com/db/assets/...), so a straightforward sub-path proxy results in 404s.I also noticed there may be other paths involved (for example routes like
/inter, and API endpoints like/api/query). In a sub-path deployment, should those be expected to live under/db/interand/db/api/queryas well? And if so, is there (or could there be) a config option to control this (e.g. basePath / publicUrl / apiBasePath), so users can choose whether to prefix UI routes, static assets, and API paths?I couldn’t find a configuration knob for this—does WhoDB currently support sub-path hosting? If not, would you be open to a PR adding it?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions