force models.dev refresh on auth login

This commit is contained in:
Dax Raad
2025-08-01 17:48:01 -04:00
parent e1b7e25f4d
commit 71cd84dbbb
5 changed files with 16 additions and 33 deletions

View File

@@ -27,7 +27,7 @@ await Promise.all([
fs.mkdir(Global.Path.log, { recursive: true }),
])
const CACHE_VERSION = "3"
const CACHE_VERSION = "4"
const version = await Bun.file(path.join(Global.Path.cache, "version"))
.text()