main
agomizi1cm 1 week ago
parent c1f2cea77a
commit cdf9b87497
  1. 2
      server.js

@ -73,7 +73,7 @@ app.get('/', (req, res) => {
`); `);
} else { } 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(` res.send(`
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>

Loading…
Cancel
Save