mirror of
https://github.com/YunoHost-Apps/discourse_ynh.git
synced 2024-09-03 18:26:18 +02:00
Remove obsolete subfolder path fix
This commit is contained in:
parent
45f4f22323
commit
05e5359d70
1 changed files with 0 additions and 10 deletions
|
@ -262,16 +262,6 @@ INSERT INTO site_settings (name, data_type, value, created_at, updated_at) VALUE
|
|||
INSERT INTO site_settings (name, data_type, value, created_at, updated_at) VALUES ('force_https', 5, 't', 'NOW()', 'NOW()');
|
||||
"
|
||||
|
||||
#=================================================
|
||||
# FIX INITIAL POSTS LINKS FOR SUBFOLDER INSTALL
|
||||
#=================================================
|
||||
ynh_print_info --message="Fixing initial post links..."
|
||||
|
||||
if [ "$path_url" != "/" ] ; then
|
||||
exec_login_as $app RAILS_ENV=production bundle exec script/discourse remap /images/welcome/ $path_url/images/welcome/ <<< "YES
|
||||
"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# CREATE DISCOURSE ADMIN USER
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue