mirror of https://github.com/harness/drone.git
fix: [CODE-2176] path for index_public.html (#2858)
parent
0a35385255
commit
99b37fed7a
|
@ -66,7 +66,7 @@ func Handler() http.HandlerFunc {
|
|||
|
||||
if RenderPublicAccessFrom(r.Context()) &&
|
||||
(r.URL.Path == "/" || r.URL.Path == "/index.html") {
|
||||
r.URL.Path = "./index_public.html"
|
||||
r.URL.Path = "/index_public.html"
|
||||
}
|
||||
|
||||
// Disable caching and sniffing via HTTP headers for UI main entry resources
|
||||
|
|
Loading…
Reference in New Issue