fix typo
This commit is contained in:
1 parent
c1f2cea77a
commit
cdf9b87497
1 file changed
+1
-1
@@ -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>
|
||||||
|
|||||||
Reference in new issue
Block a user