mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-28 10:26:07 +08:00
修复环境变量转义
This commit is contained in:
parent
f123c0bfe1
commit
7bbc776759
|
@ -168,7 +168,7 @@ export default class EnvService {
|
|||
.filter((x) => x.status !== EnvStatus.disabled)
|
||||
.map('value')
|
||||
.join('&')
|
||||
.replace(/(\\)[^\n]/g, '\\\\')
|
||||
.replace(/(\\)[^n]/g, '\\\\')
|
||||
.replace(/(\\$)/, '\\\\')
|
||||
.replace(/"/g, '\\"')
|
||||
.trim();
|
||||
|
|
|
@ -39,7 +39,7 @@ RUN set -x \
|
|||
&& echo "Asia/Shanghai" > /etc/timezone \
|
||||
&& git config --global user.email "qinglong@@users.noreply.github.com" \
|
||||
&& git config --global user.name "qinglong" \
|
||||
&& git config http.postBuffer 524288000 \
|
||||
&& git config --global http.postBuffer 524288000 \
|
||||
&& npm install -g pnpm \
|
||||
&& pnpm add -g pm2 ts-node typescript tslib \
|
||||
&& git clone -b ${QL_BRANCH} ${QL_URL} ${QL_DIR} \
|
||||
|
|
Loading…
Reference in New Issue
Block a user