We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2113559 commit 8bd7733Copy full SHA for 8bd7733
frontend/index.js.in
@@ -68,7 +68,7 @@ window.addEventListener('DOMContentLoaded', () => {
68
let customName = '', manageUrl = '', file = null
69
70
const NAME_REGEX = /^[a-zA-Z0-9+_\-\[\]*$@,;]{3,}$/
71
- const EXPIRE_REGEX = /^\d+\s*[smhdwMY]?$/
+ const EXPIRE_REGEX = /^\d+\s*[smhd]?$/
72
const submitButton = $('#submit-button')
73
const deleteButton = $('#delete-button')
74
const pasteEditArea = $('#paste-textarea')
0 commit comments