Skip to content

Commit

Permalink
Add periods to allowedExtensions if omitted
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobmischka committed Jun 27, 2022
1 parent 7fa2d2a commit c6c70f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/examples/basic/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ const interval = new Interval({
upload: async io => {
const file = await io.experimental.input.file('Upload an image!', {
helpText: 'Can be any image, or a CSV (?).',
allowedExtensions: ['.gif', '.jpg', '.jpeg', '.csv'],
allowedExtensions: ['.gif', '.jpg', '.jpeg', 'csv'],
})

console.log(file)
Expand Down

0 comments on commit c6c70f8

Please sign in to comment.