diff options
| author | Yuval Adam <yuv.adm@gmail.com> | 2012-03-13 23:54:15 -0700 |
|---|---|---|
| committer | Yuval Adam <yuv.adm@gmail.com> | 2012-03-13 23:54:15 -0700 |
| commit | accf7afda76d8c6a00d027c59e16c0084c838451 (patch) | |
| tree | c92ec86789a3db3b947092e40e97bc0577f44734 | |
| parent | 89d5cd575fb2665a8d4934b635457e79655df893 (diff) | |
index.html and import fix
| -rw-r--r-- | app.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,11 +1,12 @@ +import os import random import string -from bottle import route, run +from bottle import post, route, run, static_file @route('/') def index(name='home'): - return '<p><b>Homepage</b></p><p>Insert widget here</p>' + return static_file('index.html', root=os.path.dirname(__file__), mimetype='text/html') @route('/s/:id') def sig(id='home'): |
