Avatars don't support SVG format
This commit is contained in:
parent
71c5103280
commit
023aef7eb4
7 changed files with 17 additions and 9 deletions
|
|
@ -16,7 +16,7 @@ import Vue3Sanitize from "vue-3-sanitize";
|
|||
import vuetify from './plugins/vuetify';
|
||||
import { Buffer } from 'buffer/'
|
||||
import { createApp, h } from 'vue';
|
||||
import { supportedImageTypes } from '@/plugins/utils';
|
||||
import { supportedImageTypes, supportedAvatarImageTypes } from '@/plugins/utils';
|
||||
|
||||
globalThis.Buffer = Buffer;
|
||||
|
||||
|
|
@ -28,7 +28,7 @@ const app = createApp({
|
|||
render: () => h(App)
|
||||
});
|
||||
app.config.globalProperties.supportedImageTypes = supportedImageTypes;
|
||||
|
||||
app.config.globalProperties.supportedAvatarImageTypes = supportedAvatarImageTypes;
|
||||
|
||||
app.use(Vue3Sanitize, defaultOptions);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue