From 959dbba776ad6ded47c4bbe78b109bb4a1084ff0 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Sun, 12 Nov 2023 16:14:35 +0800 Subject: [PATCH] Set a title with hostname --- frontend/src/main.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/main.ts b/frontend/src/main.ts index a892a73..fd099ac 100644 --- a/frontend/src/main.ts +++ b/frontend/src/main.ts @@ -23,6 +23,9 @@ import socket from "./mixins/socket"; import lang from "./mixins/lang"; import theme from "./mixins/theme"; +// Set Title +document.title = document.title + " - " + location.host; + const app = createApp(rootApp()); app.use(Toast, {