fix: 🐛 fix description bug
All checks were successful
repod / xml (push) Successful in 30s
repod / php (push) Successful in 1m5s
repod / nodejs (push) Successful in 1m10s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2024-08-10 20:59:15 +02:00
parent 7efb0327d4
commit 53543a259f
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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: '/',