From c6c70f8cc940bc0bc8beea65c20740e203ebc4f6 Mon Sep 17 00:00:00 2001 From: Jacob Mischka Date: Mon, 27 Jun 2022 14:52:06 -0500 Subject: [PATCH] Add periods to allowedExtensions if omitted --- src/examples/basic/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/examples/basic/index.ts b/src/examples/basic/index.ts index be7bb44..ae6a333 100644 --- a/src/examples/basic/index.ts +++ b/src/examples/basic/index.ts @@ -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)