Skip to content

Commit

Permalink
chore(player): 每小时刷新数据表缓存
Browse files Browse the repository at this point in the history
  • Loading branch information
mark9804 committed Dec 7, 2023
1 parent 16dcb01 commit 274af0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ba-story-player/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function getResourcesUrl(type: ResourcesTypes, arg: string): string {
case "otherL2dSpine":
return `${dataUrl}/spine/${arg}.skel`;
case "excel":
return `${dataUrl}/data/${arg}`;
return `${dataUrl}/data/${arg}?t=${Math.floor(Date.now() / 3600000)}`;
case "bgm":
return `${dataUrl}/${arg}.${oggAudioType}`;
case "sound":
Expand Down

0 comments on commit 274af0f

Please sign in to comment.