Changed expire time from 1m to 10

This commit is contained in:
callum5892
2026-03-17 15:53:23 +00:00
parent 23ca70ac54
commit 8cde2cf363
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@
<select id="expiry-select" title="Expiry">
<option value="never">Never Expire</option>
<option value="1m">Expires in 1 Minute (test)</option>
<option value="10m">Expires in 10 Minutes</option>
<option value="1h">Expires in 1 Hour</option>
<option value="1d">Expires in 1 Day</option>
<option value="1w">Expires in 1 Week</option>

View File

@@ -8,7 +8,7 @@ const ID_CHARS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz012345678
const ID_RE = /^[A-Za-z0-9]{8}$/;
const EXPIRY_MS = {
never: null,
'1m': 60 * 1000,
'10m': 10 *60 * 1000,
'1h': 60 * 60 * 1000,
'1d': 24 * 60 * 60 * 1000,
'1w': 7 * 24 * 60 * 60 * 1000,