mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2025-10-27 08:49:27 +00:00
All/None links for each category of filter #28
This commit is contained in:
@@ -32,7 +32,7 @@ class WebServer:
|
||||
bottle.get("/api/status")(lambda: self.serve_api(self.status_data))
|
||||
bottle.post("/api/spot")(lambda: self.accept_spot())
|
||||
# Routes for templated pages
|
||||
bottle.get("/")(lambda: self.serve_template('webpage_home'))
|
||||
bottle.get("/")(lambda: self.serve_template('webpage_spots'))
|
||||
bottle.get("/about")(lambda: self.serve_template('webpage_about'))
|
||||
bottle.get("/apidocs")(lambda: self.serve_template('webpage_apidocs'))
|
||||
# Default route to serve from "webassets"
|
||||
|
||||
Reference in New Issue
Block a user