diff --git a/packages/web-app-files/package.json b/packages/web-app-files/package.json index 6b5af09abbb..1f9d1039d9a 100644 --- a/packages/web-app-files/package.json +++ b/packages/web-app-files/package.json @@ -5,8 +5,7 @@ "description": "ownCloud web files", "license": "AGPL-3.0", "dependencies": { - "mark.js": "^8.11.1", - "mobile-detect": "^1.4.5" + "mark.js": "^8.11.1" }, "devDependencies": { "@jest/globals": "29.3.1", diff --git a/packages/web-app-files/src/views/AppBanner.vue b/packages/web-app-files/src/views/AppBanner.vue index 4d238eec4ab..92ebd96c2d0 100644 --- a/packages/web-app-files/src/views/AppBanner.vue +++ b/packages/web-app-files/src/views/AppBanner.vue @@ -56,7 +56,6 @@ export default defineComponent({ const appBannerSettings = unref(store.getters.configuration.currentTheme.appBanner) const generateAppUrl = (fileId: string) => { - console.error(appBannerSettings.appScheme) return buildUrl(router, `/f/${fileId}`) .toString() .replace(/^(http)(s)?/, (_, p1, p2) => (p2 ? appBannerSettings.appScheme : p1)) diff --git a/packages/web-runtime/package.json b/packages/web-runtime/package.json index fc4fcb207bd..458d1474b97 100644 --- a/packages/web-runtime/package.json +++ b/packages/web-runtime/package.json @@ -37,6 +37,7 @@ "qs": "^6.10.3", "sanitize-html": "^2.7.0", "semver": "^7.3.8", + "smartbanner.js": "^1.19.3", "tippy.js": "^6.3.7", "utf8": "^3.0.0", "uuid": "^9.0.0", diff --git a/packages/web-runtime/src/App.vue b/packages/web-runtime/src/App.vue index be85d35b14e..47e7918d1b7 100644 --- a/packages/web-runtime/src/App.vue +++ b/packages/web-runtime/src/App.vue @@ -55,8 +55,6 @@ import { additionalTranslations } from './helpers/additionalTranslations' // esl import { eventBus } from 'web-pkg/src/services' import { useHead } from './composables/head' import { useStore } from 'web-pkg/src/composables' -//import 'smartbanner.js/dist/smartbanner.css' -//import * as SmartBanner from 'smartbanner.js/dist/smartbanner.js' export default defineComponent({ components: {