Ethan Dalool
6e312bd287
Alright, I got tired of confusing myself with the same-named outer and inner package. Keep in mind that every frontend implementation is supposed to be its own independent project where etiquette is nothing but a dependency. So the name backend is not ambiguous with the etiquette backend.
14 lines
355 B
Python
14 lines
355 B
Python
'''
|
|
This file is the WSGI entrypoint for remote / production use.
|
|
|
|
If you are using Gunicorn, for example:
|
|
gunicorn etiquette_flask_entrypoint:site --bind "0.0.0.0:PORT" --access-logfile "-"
|
|
'''
|
|
import sys
|
|
import werkzeug.contrib.fixers
|
|
|
|
import backend
|
|
|
|
backend.site.wsgi_app = werkzeug.contrib.fixers.ProxyFix(backend.site.wsgi_app)
|
|
|
|
site = backend.site
|