fix(api): fix file type regex

This commit is contained in:
syuilo 2021-10-05 20:28:07 +09:00 committed by GitHub
parent 7da9d543ae
commit 3c75293f3f

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