Browse Source

docs: allowedFileTypes is a property of restrictions

Renée Kooi 5 năm trước cách đây
mục cha
commit
82e2100ad8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      website/src/docs/uppy.md

+ 1 - 1
website/src/docs/uppy.md

@@ -554,7 +554,7 @@ uppy.setFileMeta('myfileID', { resize: 1500 })
 
 ### `uppy.setOptions(opts)`
 
-Change Uppy options on the fly. For example, to conditionally change `allowedFileTypes` or `locale`:
+Change Uppy options on the fly. For example, to conditionally change `restrictions.allowedFileTypes` or `locale`:
 
 ```js
 const uppy = Uppy()