making brain work with uwsgi
This commit is contained in:
parent
f8b9b6f96c
commit
44f39be72c
1 changed files with 3 additions and 2 deletions
5
brain.py
5
brain.py
|
@ -1,6 +1,6 @@
|
|||
import os, sys
|
||||
from git import *
|
||||
from bottle import route, run, request, template, static_file, redirect
|
||||
from bottle import default_app, route, run, request, template, static_file, redirect
|
||||
from os.path import isdir
|
||||
from string import lower, split
|
||||
from urllib import unquote
|
||||
|
@ -576,5 +576,6 @@ def index():
|
|||
redirect('/repo')
|
||||
|
||||
if __name__ == "__main__":
|
||||
run(host="127.0.0.1", port=9911, reloader=True)
|
||||
#run(host="127.0.0.1", port=9911, reloader=True)
|
||||
application = default_app()
|
||||
|
||||
|
|
Loading…
Reference in a new issue