fix: [CODE-2176] path for index_public.html (#2858)

pull/3576/head
Ritik Kapoor 2024-10-23 17:52:03 +00:00 committed by Harness
parent 0a35385255
commit 99b37fed7a
1 changed files with 1 additions and 1 deletions

View File

@ -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