mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2024-11-23 22:17:33 +00:00
fix config sanity check
add chartjs
This commit is contained in:
parent
5b949e02d1
commit
6606f1558e
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -1,3 +1,4 @@
|
||||
app/static/bootstrap-4.2.1/* linguist-vendored=true
|
||||
app/static/datatables/* linguist-vendored=true
|
||||
app/static/font-awesome/* linguist-vendored=true
|
||||
app/static/chartjs/* linguist-vendored=true
|
||||
|
@ -193,7 +193,7 @@ def register_settings(app):
|
||||
'APP_DATABASE_URI',
|
||||
app.config['APP_DATABASE_URI']
|
||||
)
|
||||
if app.config['SECRET_KEY'] is None or app.config['APP_DATABASE_URI'] is None:
|
||||
if app.config['SECRET_KEY'] is "" or "<database>" in app.config['APP_DATABASE_URI']:
|
||||
raise("No database uri or secret Key")
|
||||
# try to get overides, otherwise just use what we have already
|
||||
app.config['USER_ENABLE_REGISTER'] = os.getenv(
|
||||
|
13
app/static/chartjs/chart.min.js
vendored
Normal file
13
app/static/chartjs/chart.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user