delete reverse proxy use
This commit is contained in:
parent
cc2d92e53a
commit
a7dc3a3a4c
@ -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': ''})
|
||||
|
Loading…
Reference in New Issue
Block a user