From c79f3da673b542164244fd891150ef5cb061558c Mon Sep 17 00:00:00 2001 From: BrunoQuaresma Date: Tue, 29 Aug 2023 17:16:33 +0000 Subject: [PATCH] chore: support protobuf files in the UI --- 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 67eb18805a7c0..36d88af3b2bbc 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))