summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index b3f600f..36e2b6f 100644
--- a/main.go
+++ b/main.go
@@ -79,7 +79,7 @@ func main() {
}
m := latLngRegex.FindStringSubmatch(r.URL.Path)
- if len(m) != 3 {
+ if len(m) != 3 || m[0] != r.URL.Path {
http.NotFound(w, r)
return
}