synced with Alpha-snapshot20230525
parent
3ad9ab7351
commit
1ce6dcf41b
|
@ -11,6 +11,7 @@ from Article import *
|
|||
import Yaml
|
||||
from user_service import userService
|
||||
from account_service import accountService
|
||||
from wordCMD import show_bp
|
||||
from admin_service import adminService, ADMIN_NAME
|
||||
app = Flask(__name__)
|
||||
app.secret_key = 'lunch.time!'
|
||||
|
@ -19,6 +20,7 @@ app.secret_key = 'lunch.time!'
|
|||
app.register_blueprint(userService)
|
||||
app.register_blueprint(accountService)
|
||||
app.register_blueprint(adminService)
|
||||
app.register_blueprint(show_bp)
|
||||
|
||||
path_prefix = '/var/www/wordfreq/wordfreq/'
|
||||
path_prefix = './' # comment this line in deployment
|
||||
|
|
Loading…
Reference in New Issue