1
0
Fork 0

synced with Alpha-snapshot20230525

improvment-NiWeiCong2
HAMED SALMA MOHAMED HUSSEIN 2023-06-05 11:28:51 +08:00
parent 3ad9ab7351
commit 1ce6dcf41b
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ from Article import *
import Yaml import Yaml
from user_service import userService from user_service import userService
from account_service import accountService from account_service import accountService
from wordCMD import show_bp
from admin_service import adminService, ADMIN_NAME from admin_service import adminService, ADMIN_NAME
app = Flask(__name__) app = Flask(__name__)
app.secret_key = 'lunch.time!' app.secret_key = 'lunch.time!'
@ -19,6 +20,7 @@ app.secret_key = 'lunch.time!'
app.register_blueprint(userService) app.register_blueprint(userService)
app.register_blueprint(accountService) app.register_blueprint(accountService)
app.register_blueprint(adminService) app.register_blueprint(adminService)
app.register_blueprint(show_bp)
path_prefix = '/var/www/wordfreq/wordfreq/' path_prefix = '/var/www/wordfreq/wordfreq/'
path_prefix = './' # comment this line in deployment path_prefix = './' # comment this line in deployment