From a367b1dd079b921a6cd0fea9c800dfa40f2f8b95 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Thu, 17 Mar 2022 14:54:05 -0700 Subject: [PATCH] Remove support for SVG logos. Closes https://github.com/owncast/owncast/issues/1773 --- web/components/config/edit-logo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/config/edit-logo.tsx b/web/components/config/edit-logo.tsx index b3e9c057f..1698b2336 100644 --- a/web/components/config/edit-logo.tsx +++ b/web/components/config/edit-logo.tsx @@ -18,7 +18,7 @@ import { } from '../../utils/input-statuses'; import { NEXT_PUBLIC_API_HOST } from '../../utils/apis'; -const ACCEPTED_FILE_TYPES = ['image/svg+xml', 'image/png', 'image/jpeg', 'image/gif']; +const ACCEPTED_FILE_TYPES = ['image/png', 'image/jpeg', 'image/gif']; function getBase64(img: File | Blob, callback: (imageUrl: string | ArrayBuffer) => void) { const reader = new FileReader();