Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (14 sloc) 0.423 kb
import tubes
handler = tubes.Handler()
handler.register_static_path('/css', 'css/')
handler.register_static_path('/js', 'js/')
@handler.get('^/?$', produces=tubes.HTML)
def main(handler):
return INDEX
@handler.get('^/favicon.ico$', produces=tubes.ICON)
def get_icon(handler):
return ICON
INDEX = file('index.html').read()
ICON = file('favicon.ico').read()
if __name__ == '__main__':
tubes.run_gae(handler)
Jump to Line
Something went wrong with that request. Please try again.