diff --git a/back/config/index.ts b/back/config/index.ts index 16966224..76f4aa51 100644 --- a/back/config/index.ts +++ b/back/config/index.ts @@ -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();