Compare commits
1
Commits
c1f2cea77a
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cdf9b87497 |
@@ -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