Mercurial > templog
comparison web/templog.py @ 255:8ef52f27cf95
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 08 Jun 2015 22:32:34 +0800 |
parents | 0a1b642e3086 3e6f82347eab |
children | 03e540c3ec24 |
comparison
equal
deleted
inserted
replaced
253:0a1b642e3086 | 255:8ef52f27cf95 |
---|---|
176 response.set_header('Cache-Control', "public, max-age=1296000") | 176 response.set_header('Cache-Control', "public, max-age=1296000") |
177 return bottle.static_file(filename, root='static') | 177 return bottle.static_file(filename, root='static') |
178 | 178 |
179 | 179 |
180 def main(): | 180 def main(): |
181 """ for standalone testing """ | |
181 #bottle.debug(True) | 182 #bottle.debug(True) |
182 #bottle.run(reloader=True) | 183 #bottle.run(reloader=True) |
183 bottle.run(server='cgi', reloader=True) | 184 bottle.run(server='cgi', reloader=True) |
184 #bottle.run(port=9999, reloader=True) | 185 #bottle.run(port=9999, reloader=True) |
185 | 186 |