From fc4683d8b3c990e0a8e49a294877885519d3a51f Mon Sep 17 00:00:00 2001 From: Bruno Quaresma Date: Tue, 29 Aug 2023 14:26:23 -0300 Subject: [PATCH] chore: support protobuf files in the UI (#9408) --- site/src/utils/templateVersion.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/utils/templateVersion.ts b/site/src/utils/templateVersion.ts index 67eb18805a..36d88af3b2 100644 --- a/site/src/utils/templateVersion.ts +++ b/site/src/utils/templateVersion.ts @@ -23,7 +23,7 @@ export const getTemplateVersionFiles = async ( return files } -export const allowedExtensions = ["tf", "md", "Dockerfile"] +export const allowedExtensions = ["tf", "md", "Dockerfile", "protobuf"] export const isAllowedFile = (name: string) => { return allowedExtensions.some((ext) => name.endsWith(ext))