Browse Source

Remove support for SVG logos. Closes https://github.com/owncast/owncast/issues/1773

pull/1886/head
Gabe Kangas 3 years ago
parent
commit
a367b1dd07
  1. 2
      web/components/config/edit-logo.tsx

2
web/components/config/edit-logo.tsx

@ -18,7 +18,7 @@ import { @@ -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();

Loading…
Cancel
Save