Add WSGI ability
This commit is contained in:
parent
9423a61283
commit
31553b7718
10
app.py
Executable file
10
app.py
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
import bottle
|
||||||
|
import main
|
||||||
|
import os
|
||||||
|
# Change working directory so relative paths (and template lookup) work again
|
||||||
|
os.chdir(os.path.dirname(__file__))
|
||||||
|
|
||||||
|
# ... build or import your bottle application here ...
|
||||||
|
# Do NOT use bottle.run() with mod_wsgi
|
||||||
|
application = bottle.default_app()
|
@ -63,7 +63,7 @@
|
|||||||
% else:
|
% else:
|
||||||
<em>
|
<em>
|
||||||
No OpenAccess version found.
|
No OpenAccess version found.
|
||||||
% if v["sharable"] is not None:
|
% if v["sharable"] is None:
|
||||||
<strong>OpenAccess policy is unknown.</strong>
|
<strong>OpenAccess policy is unknown.</strong>
|
||||||
% elif v["sharable"]:
|
% elif v["sharable"]:
|
||||||
<strong class="green">It could be shared.</strong>
|
<strong class="green">It could be shared.</strong>
|
||||||
|
Loading…
Reference in New Issue
Block a user