implement vuex et authent #2

Merged
vincent merged 8 commits from dev into master 2019-05-08 16:13:07 +00:00
Showing only changes of commit 686ec23582 - Show all commits

View File

@ -3,12 +3,13 @@ from flask_cors import CORS
#from ReverseProxied import ReverseProxied
def create_app(app_name=__name__):
app=Flask(__name__, static_folder= "./dist/static",template_folder="./dist")
app=Flask(__name__, static_folder= "../dist/static",template_folder="../dist")
app.config.from_object('chainetv.config.BaseConfig')
#app.wsgi_app = ReverseProxied(app.wsgi_app)
CORS(app)
from chainetv.api import api
app.register_blueprint(api, url_prefix="/api/v1")
@app.route('/')
@app.route('/<path:path>')
def index(path):
return render_template('index.html')