修复baseUrl

This commit is contained in:
whyour
2022-09-02 10:54:44 +08:00
parent b9253c8191
commit 1fe91508f6
4 changed files with 10 additions and 8 deletions
+2 -1
View File
@@ -30,7 +30,8 @@ copy_dep() {
echo -e "---> 2. 复制nginx配置文件\n"
cp -fv $nginx_conf /etc/nginx/nginx.conf
envsubst '${qlBaseUrl}' < $nginx_app_conf > /etc/nginx/conf.d/front.conf
cp -fv $nginx_app_conf /etc/nginx/conf.d/front.conf
sed -i "s,QL_BASE_URL,${qlBaseUrl},g" /etc/nginx/conf.d/front.conf
echo -e "---> 配置文件复制完成\n"
}