backend: Make function private

This commit is contained in:
Kevin Kandlbinder 2022-09-07 14:31:48 +02:00
parent a8d887e174
commit 3a8bf1aef4

View file

@ -43,7 +43,7 @@ func ServeUI() (http.Handler, error) {
}), nil
}
func ServeIndex() (http.HandlerFunc, error) {
func serveIndex() (http.HandlerFunc, error) {
indexFile, err := content.ReadFile("build/index.html")
if err != nil {
return nil, err