comparison web/templog.py @ 553:d16afb5b5cd9

merge
author Matt Johnston <matt@ucc.asn.au>
date Mon, 08 Jun 2015 22:32:34 +0800
parents 9499bd2f344b a335760ad447
children 03e540c3ec24
comparison
equal deleted inserted replaced
551:9499bd2f344b 553:d16afb5b5cd9
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