delete reverse proxy use

This commit is contained in:
vincent 2019-04-26 10:21:58 +02:00
parent cc2d92e53a
commit a7dc3a3a4c

View File

@ -1,11 +1,11 @@
from flask import Flask,request,make_response,redirect,url_for,render_template,jsonify
from flask_cors import CORS
from Jsonfile import JSONfile
from ReverseProxied import ReverseProxied
#from ReverseProxied import ReverseProxied
import emission
data= JSONfile("chaine.json")
app=Flask(__name__,static_folder = "./dist/static",template_folder="./dist")
app.wsgi_app = ReverseProxied(app.wsgi_app)
#app.wsgi_app = ReverseProxied(app.wsgi_app)
CORS(app)
@app.route('/', defaults={'path': ''})