summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsr <clsr@clsr.net>2016-11-15 21:09:13 +0100
committerclsr <clsr@clsr.net>2016-11-15 21:09:13 +0100
commitb693441893f80b8ebdeb17afd05cfcb1d11e1569 (patch)
treefef97a05ee35d287bcd20977cf5e85e536676006
parent5f583f99d29cbb7578e43b2bbc0a2de87a5b4a25 (diff)
downloadgomf-modpanel-b693441893f80b8ebdeb17afd05cfcb1d11e1569.tar.gz
gomf-modpanel-b693441893f80b8ebdeb17afd05cfcb1d11e1569.zip
Insert a missing return
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 37d5374..5fe7e68 100644
--- a/main.go
+++ b/main.go
@@ -290,6 +290,7 @@ func handleDeletionLog(w http.ResponseWriter, r *http.Request) {
func handle(w http.ResponseWriter, r *http.Request) {
if r.URL.Path == deletionPath || strings.HasPrefix(r.URL.Path, prefix+"static/") {
http.DefaultServeMux.ServeHTTP(w, r)
+ return
}
if !strings.HasPrefix(r.URL.Path, prefix) {