Unexport private function

This commit is contained in:
Deluan
2020-10-01 09:56:09 -04:00
parent 03867bd8b2
commit cf8756b14b
3 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ func (app *Router) routes(path string) http.Handler {
})
// Serve UI app assets
r.Handle("/", ServeIndex(app.ds, assets.AssetFile()))
r.Handle("/", serveIndex(app.ds, assets.AssetFile()))
r.Handle("/*", http.StripPrefix(path, http.FileServer(assets.AssetFile())))
return r