1
0
Fork 0
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:
Neko Nekowazarashi 2023-05-29 21:57:57 +07:00
parent 7346a0b233
commit 42778943a4
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ location __PATH__/ {
proxy_set_header Host $http_host;
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 conf.d/yunohost_panel.conf.inc;

View file

@ -50,7 +50,7 @@ then
new_next_path=$new_path
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
#=================================================