mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-23 18:20:19 +03:00
fix check
This commit is contained in:
parent
12f45840d9
commit
44c6223208
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ export class Genshinlib
|
|||
{
|
||||
let bg = '';
|
||||
|
||||
if (this.getConfig().background.time == new Date().setDate(new Date().getDate()).toString() || !this.getConfig().background.time)
|
||||
if (!this.getConfig().background.time || this.getConfig().background.time! >= new Date().setDate(new Date().getDate()).toString())
|
||||
{
|
||||
await fetch(`https://sdk-os-static.mihoyo.com/hk4e_global/mdk/launcher/api/content?filter_adv=true&launcher_id=10&language=${this.lang.launcher}`)
|
||||
.then(res => res.json())
|
||||
|
|
Loading…
Reference in a new issue