1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/discourse_ynh.git synced 2024-09-03 18:26:18 +02:00

Don't show miniprofiler

This commit is contained in:
Jimmy Monin 2018-04-07 11:58:39 +02:00
parent e1bc8091cb
commit c664acad59

View file

@ -128,6 +128,8 @@ ynh_replace_string "hostname = \"www.example.com\"" "hostname = \"$domain\"" "$d
ynh_replace_string "relative_url_root =" "relative_url_root = ${path_url%/}" "$discourse_config_file" ynh_replace_string "relative_url_root =" "relative_url_root = ${path_url%/}" "$discourse_config_file"
# Serve static assets (i.e. images, js, etc.) # Serve static assets (i.e. images, js, etc.)
ynh_replace_string "serve_static_assets = false" "serve_static_assets = true" "$discourse_config_file" ynh_replace_string "serve_static_assets = false" "serve_static_assets = true" "$discourse_config_file"
# Don't show miniprofiler
ynh_replace_string "load_mini_profiler = true" "load_mini_profiler = false" "$discourse_config_file"
# Configure e-mail server # Configure e-mail server
admin_mail=$(ynh_user_get_info "$admin" mail) admin_mail=$(ynh_user_get_info "$admin" mail)