authentificatio implementation #3

Merged
vincent merged 3 commits from dev into master 2019-05-08 16:14:43 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 8680792300 - Show all commits

View File

@ -1,6 +1,6 @@
from flask import Blueprint, jsonify, request,make_response,redirect,url_for,render_template
from chainetv.Jsonfile import JSONfile
from chainetv import emission
from .Jsonfile import JSONfile
from . import emission
data= JSONfile("chaine.json")

View File

@ -7,7 +7,7 @@ def create_app(app_name=__name__):
app.config.from_object('chainetv.config.BaseConfig')
#app.wsgi_app = ReverseProxied(app.wsgi_app)
CORS(app)
from chainetv.api import api
from .api import api
app.register_blueprint(api, url_prefix="/api/v1")
@app.route('/')
@app.route('/<path:path>')