ui/docs: clone component is undefined when running as a server #669
Labels
bug
Something isn't working
dashboard
Part of CISO/OSPO experience to access UI
good first issue
Good for newcomers
hacktoberfest
Describe the bug
When Git Proxy is deployed on a server, the "Clone" component under /admin/repo on the UI has an
undefined
value for the host.It seems to stem from an unset environment variable
VITE_SERVER_URI
.Ideally, this component would use the Origin URL and not require additional config when deploying Git Proxy's UI.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The frontend uses the server origin as the hostname for the clone URL.
Screenshot:
The text was updated successfully, but these errors were encountered: