Allow uppercase letters in VALID_NAME regex

This commit is contained in:
Chris Wanstrath 2026-03-05 07:46:07 -08:00
parent 0af360cef2
commit fafef70a33

View File

@ -1,5 +1,5 @@
export const DEFAULT_EMOJI = '🖥️'
export const VALID_NAME = /^[a-z][a-z0-9.-]*$/
export const VALID_NAME = /^[a-zA-Z][a-zA-Z0-9.-]*$/
export interface FileInfo {
hash: string