plugin-manager: Use relative URL to access Gerrit base URL

The plugin-manager plugin was not working properly for setups
with a reverse-proxy with a non-root base path.

Use a relative URL for calculating the base path, so that
any reverse-proxy configuration with a non-root path can
automatically get to the main location correctly.

Rewrite of Change-Id: If382fe16 with a simplified
implementation.

Bug: Issue 13521
Change-Id: I5181098bfb2d4a27eef3b51fc8780cc8f294d1c3
1 file changed
tree: 5743895bb324e838655965328ccace67de0e6f61
  1. src/
  2. .gitignore
  3. BUILD
  4. LICENSE
  5. README.md
README.md

plugin-manager

Gerrit web-based plugin manager.

To enable this plugin, please look at the configuration guide