Mayel de Borniol 2023-07-11 00:05:28 +01:00
parent 51163a1fc8
commit 9f4d311d86
3 changed files with 4 additions and 2 deletions

View file

@ -33,8 +33,6 @@ config :bonfire,
default_pagination_limit: 20,
# very high limit for prod
thread_default_pagination_limit: 500,
# how many nested replies to show
thread_default_max_depth: 3,
localisation_path: "priv/localisation",
ap_base_path: System.get_env("AP_BASE_PATH", "/pub"),
signing_salt: "this-will-be-overriden-by-a-secure-string-in-runtime.exs",

View file

@ -120,6 +120,8 @@ encryption_salt =
"""
config :bonfire,
# how many nested replies to show
thread_default_max_depth: 7,
host: host,
app_name: System.get_env("APP_NAME", "Bonfire"),
ap_base_path: System.get_env("AP_BASE_PATH", "/pub"),

View file

@ -389,6 +389,8 @@ pre-push-hooks: pre-contrib-hooks
pre-contrib-hooks:
-ex +%s,/extensions/,/deps/,e -scwq config/deps_hooks.js
rm -rf forks/*/data/uploads/favicons/
rm -rf extensions/*/data/uploads/favicons/
# -sed -i '' 's,/extensions/,/deps/,' config/deps_hooks.js
# Push all changes to the app and extensions in ./forks