mirror of
https://github.com/YunoHost-Apps/lingva_ynh.git
synced 2024-09-03 19:36:20 +02:00
perbaiki sub-jalur
This commit is contained in:
parent
7346a0b233
commit
42778943a4
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ location __PATH__/ {
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
||||||
proxy_pass http://localhost:__PORT__/__PATH__;
|
proxy_pass http://localhost:__PORT____PATH__;
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
include conf.d/yunohost_panel.conf.inc;
|
||||||
|
|
|
@ -50,7 +50,7 @@ then
|
||||||
new_next_path=$new_path
|
new_next_path=$new_path
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ynh_replace_string --match_string="module.exports = { basePath: '$old_path', };" --replace_string="module.exports = { basePath: '$new_path', };"
|
ynh_replace_string --match_string="module.exports = { basePath: '$old_path', };" --replace_string="module.exports = { basePath: '$new_path', };" --target_file="$install_dir/next.config.js"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue