修改新建订阅提示

This commit is contained in:
whyour
2022-09-21 14:54:45 +08:00
parent a75df03243
commit 23bfbeb995
2 changed files with 14 additions and 31 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ if (!process.env.QL_DIR) {
if (qlHomePath.endsWith('/static/')) {
qlHomePath = path.join(qlHomePath, '../');
}
process.env.QL_DIR = qlHomePath;
process.env.QL_DIR = qlHomePath.replace(/\/$/g, '');
}
const lastVersionFile = `http://qn.whyour.cn/version.ts?v=${Date.now()}`;