Files
gerrit/polygerrit-ui/server.go
Ben Rohlfs 4dff051421 Avoid loading plugin bundles when running locally
When using run-server.sh (server.go) and you provide a plugins command
line parameter, then the plugin bundle should not be loaded from the
server. So when rewriting the host page let's remove URLs pointing to
polygerrit_assets on the CDN host. Thus loading the bundle will fail
with 404 and normal plugin loading and rewriting kicks in.

Bug: Issue 11274
Change-Id: If62f1d677a11cca2373ae1d45b0d6023f5b35726
2019-08-14 12:43:24 +02:00

9.4 KiB