1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-02 08:48:32 +09:00

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: {