mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2025-03-04 14:41:02 +01:00
fix(api): fix file type regex
This commit is contained in:
parent
66369b4b1d
commit
8d05ef3058
1 changed files with 1 additions and 1 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Reference in a new issue