Skip to content

A self-hosted media server and file management system

chore: remove logging

aminnausin39de573bce54
diff --git a/resources/js/router/index.ts b/resources/js/router/index.ts
index 258e4d19..b65438f6 100644
--- a/resources/js/router/index.ts
+++ b/resources/js/router/index.ts
@@ -175,8 +175,6 @@ router.beforeEach(async (to, from, next) => {
const meta = to.meta as { title?: string };
if (to?.name && ['logout', 'root', 'home'].indexOf(to.name.toString()) === -1) {
- console.log('update title:', to.name, meta.title ?? '');
-
document.title = meta?.title ?? toTitleCase(`${to.name?.toString()}`); // Update Page Title
}