internal: fix typo

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-09-24 10:37:36 +02:00
parent 42ab858c50
commit 8d72b3498d
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ func (ws *WebServer) configureStatic() {
disableIndex(http.StripPrefix(fmt.Sprintf("/if/flow/%s", vars["flow_slug"]), distFs)).ServeHTTP(rw, r)
})
statRouter.PathPrefix("/if/admin/assets").Handler(disableIndex(http.StripPrefix("/if/admin", distFs)))
statRouter.PathPrefix("/if/user/assets").Handler(disableIndex(http.StripPrefix("/if/admin", distFs)))
statRouter.PathPrefix("/if/user/assets").Handler(disableIndex(http.StripPrefix("/if/user", distFs)))
statRouter.PathPrefix("/media/").Handler(http.StripPrefix("/media", fs))