We modify the x/ route to ensure we can serve git repos from x/. Previously we had been using sed which is likely to be much more fragile than patch. Patch will detect conflicts and other errors which would be good for us to find out about early. Change-Id: Ic324c7777e7851a6150e4415338c4628ac710970changes/23/772923/1
parent
30c05ebeb1
commit
469153d820
@ -0,0 +1,13 @@
|
||||
diff --git a/java/com/google/gerrit/httpd/raw/StaticModule.java b/java/com/google/gerrit/httpd/raw/StaticModule.java
|
||||
index 414a120194..9d59535a66 100644
|
||||
--- a/java/com/google/gerrit/httpd/raw/StaticModule.java
|
||||
+++ b/java/com/google/gerrit/httpd/raw/StaticModule.java
|
||||
@@ -71,7 +71,7 @@ public class StaticModule extends ServletModule {
|
||||
"/c/*",
|
||||
"/p/*",
|
||||
"/q/*",
|
||||
- "/x/*",
|
||||
+ //"/x/*",
|
||||
"/admin/*",
|
||||
"/dashboard/*",
|
||||
"/groups/self",
|
Loading…
Reference in new issue