mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
修复获取最新version文件
This commit is contained in:
parent
220a87627d
commit
e07d2b6639
|
@ -4,7 +4,7 @@ import { createRandomString } from './util';
|
|||
|
||||
process.env.NODE_ENV = process.env.NODE_ENV || 'development';
|
||||
|
||||
const lastVersionFile = 'http://qn.whyour.cn/version.ts?v=2.12.1';
|
||||
const lastVersionFile = `http://qn.whyour.cn/version.ts?v=${Date.now()}`;
|
||||
|
||||
const envFound = dotenv.config();
|
||||
const rootPath = process.cwd();
|
||||
|
|
Loading…
Reference in New Issue
Block a user