Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 4235e61

Browse files
committed
fix: should not generate tip when countdown is 0.
1 parent 4cd07e7 commit 4235e61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function getDirectHtml({ /* url, */redirectUrl, countdown, routerBase = '/' } =
7575
<meta charset="UTF-8">
7676
</head>
7777
<body>
78-
${countdown >= 0
78+
${countdown > 0
7979
? `
8080
<p align="center" style="font-size: 30px;">
8181
Redrect after <b><span id="countdown">${countdown}</span></b>s

0 commit comments

Comments
 (0)