Make browserconfig.xml to be root-url accessible (Can be accessed through /browserconfig.xml).
This commit is contained in:
@@ -105,6 +105,14 @@ func (h handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
r,
|
||||
clientLogger)
|
||||
|
||||
case "/browserconfig.xml":
|
||||
err = serveStaticCacheData(
|
||||
"browserconfig.xml",
|
||||
staticFileExt(".xml"),
|
||||
w,
|
||||
r,
|
||||
clientLogger)
|
||||
|
||||
default:
|
||||
if strings.HasPrefix(r.URL.Path, assetsURLPrefix) &&
|
||||
strings.ToUpper(r.Method) == "GET" {
|
||||
|
||||
Reference in New Issue
Block a user