fix(api): fix file type regex

This commit is contained in:
syuilo 2021-10-05 20:28:07 +09:00 committed by GitHub
parent 66369b4b1d
commit 8d05ef3058
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export const meta = {
}, },
type: { type: {
validator: $.optional.nullable.str.match(/^[a-zA-Z\/\-*]+$/) validator: $.optional.nullable.str.match(/^[a-zA-Z0-9\/\-*]+$/)
}, },
origin: { origin: {