Commit ff01ef86 authored by Jerome Touvier's avatar Jerome Touvier
Browse files

test routes

parent d9a10c6f
VERSION = "1.0.0"
VERSION = "1.0.1"
parameters = {
......
......@@ -6,8 +6,8 @@ from flask import Flask, make_response, render_template, redirect, request
from apps.constants import VERSION
from apps.root import output
app = Flask(__name__)
app.wsgi_app = ReverseProxied(app.wsgi_app, script_name='/resifws/resp')
app = Flask(__name__, APPLICATION_ROOT="/resifws/resp")
app.config["APPLICATION_ROOT"] = "/resifws/resp"
fmt = "[%(asctime)s] %(levelname)s [%(filename)s:%(lineno)d] [%(funcName)s] %(message)s"
loglevel = logging.INFO if os.environ.get("RUNMODE") == "prodution" else logging.DEBUG
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment