@ -73,7 +73,7 @@ app.get('/', (req, res) => {
`);
} else {
// チェストにファイルがある場合:ダウンロード用リンクを返す
const remainingTime = Math.max(0, Math.規劃((currentChestFile.expiresAt - Date.now()) / 1000));
const remainingTime = Math.max(0, Math.floor((currentChestFile.expiresAt - Date.now()) / 1000));
res.send(`
<!DOCTYPE html>
<html>