Add DASHBOARD_PAGE_SIZE to TEMPLATE.env and app.json
This commit is contained in:
parent
9fb875f749
commit
d9e1ffddb1
@ -83,3 +83,7 @@ BLOCK_ALL_IPS=False
|
||||
# keys) aren't supplied. It will also prevent sessions from spanning
|
||||
# one day to another.
|
||||
AGGRESSIVE_HASH_SALTING=True
|
||||
|
||||
# How many services should be displayed on dashboard page?
|
||||
# Set to big number if you don't want pagination at all.
|
||||
DASHBOARD_PAGE_SIZE=5
|
||||
|
5
app.json
5
app.json
@ -122,6 +122,11 @@
|
||||
"description": "Set to 'False' if you do not want the version to be displayed on the frontend.",
|
||||
"value": "True",
|
||||
"required": false
|
||||
},
|
||||
"DASHBOARD_PAGE_SIZE": {
|
||||
"description": "How many services should be displayed on dashboard page?",
|
||||
"value": "5",
|
||||
"required": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -340,4 +340,5 @@ BLOCK_ALL_IPS = os.getenv("BLOCK_ALL_IPS", "False") == "True"
|
||||
# Include date and service ID in salt?
|
||||
AGGRESSIVE_HASH_SALTING = os.getenv("AGGRESSIVE_HASH_SALTING", "False") == "True"
|
||||
|
||||
# How many services should be displayed on dashboard page?
|
||||
DASHBOARD_PAGE_SIZE = os.getenv("DASHBOARD_PAGE_SIZE", 5)
|
||||
|
Loading…
Reference in New Issue
Block a user