mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-21 03:30:42 +00:00
fix(api): fix file type regex
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user