diff options
| author | Yuval Adam <yuv.adm@gmail.com> | 2012-03-17 15:32:50 -0700 |
|---|---|---|
| committer | Yuval Adam <yuv.adm@gmail.com> | 2012-03-17 15:32:50 -0700 |
| commit | d9fa3b96ecab96b92ef0258ce71fc8982a310233 (patch) | |
| tree | 8012508a5d02dca25361c2f3b3e594021e3858bd /app.py | |
| parent | 780728d467e777066c79cd25cf00b79720c81b65 (diff) | |
working ep.io deployment
Diffstat (limited to 'app.py')
| -rw-r--r-- | app.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -7,7 +7,7 @@ import random import requests import string -from bottle import post, route, redirect, request, run, static_file, template +from bottle import app, post, route, redirect, request, run, static_file, template CLOUDANT_BASE = 'https://pinkyswear.cloudant.com/pinkyswear/' CLOUDANT_AUTH = ('pinkyswear', 'abc123') @@ -49,5 +49,5 @@ def sig(): r = requests.put(url, auth=CLOUDANT_AUTH, data=json.dumps(data), headers=headers) redirect('/s/%s' % json.loads(r.content)['id']) -#run(host='localhost', port=8000) -run(server='gae') +# run(host='localhost', port=8000) +application = app() |
