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

View file

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