fix: 🐛 fix description bug
This commit is contained in:
parent
7efb0327d4
commit
53543a259f
|
@ -10,7 +10,7 @@ export default {
|
|||
name: 'SafeHtml',
|
||||
directives: {
|
||||
sanitize: {
|
||||
inserted(el, binding) {
|
||||
mounted(el, binding) {
|
||||
el.innerHTML = dompurify.sanitize(
|
||||
linkifyHtml(binding.value, {
|
||||
nl2br: true,
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import { createRouter, createWebHashHistory } from 'vue-router'
|
||||
import Discover from './views/Discover.vue'
|
||||
import Feed from './views/Feed.vue'
|
||||
import { generateUrl } from '@nextcloud/router'
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(generateUrl('apps/repod')),
|
||||
history: createWebHashHistory(generateUrl('apps/repod')),
|
||||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
|
|
Loading…
Reference in New Issue