1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-09 23:00:57 -05:00

[master] make version info update live instead of requiring a restart in

This commit is contained in:
RaidMax
2018-05-24 21:39:03 -05:00
parent eb3b208e4f
commit 045260c648
5 changed files with 6 additions and 4 deletions

View File

@ -6,7 +6,6 @@ from flask import Flask
from flask_restful import Resource, Api
from flask_jwt_extended import JWTManager
from master.context.base import Base
import json
app = Flask(__name__)
app.config['JWT_SECRET_KEY'] = 'my key!'
@ -14,7 +13,7 @@ app.config['PROPAGATE_EXCEPTIONS'] = True
jwt = JWTManager(app)
api = Api(app)
ctx = Base()
config = json.load(open('./master/config/master.json'))
#config = json.load(open('./master/config/master.json'))
import master.routes
import master.views