mirror of
https://github.com/yangjian102621/geekai.git
synced 2026-02-19 12:54:28 +08:00
release v4.1.2
This commit is contained in:
@@ -80,7 +80,7 @@ export function getLicenseInfo() {
|
||||
httpGet('/api/config/license').then(res => {
|
||||
item.data = res
|
||||
// cache expires after 10 minutes
|
||||
item.expire = Date.now() + 1000 * 60 * 60
|
||||
item.expire = Date.now() + 1000 * 60 * 10
|
||||
Storage.set(licenseInfoKey, item)
|
||||
resolve(item.data)
|
||||
}).catch(err => {
|
||||
|
||||
Reference in New Issue
Block a user