mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-21 05:11:11 +08:00
better code reuse and "Username" to "Bot Display Name"
This commit is contained in:
@@ -15,6 +15,7 @@ import Details from "./pages/Details.vue";
|
||||
import EditMonitor from "./pages/EditMonitor.vue";
|
||||
import Settings from "./pages/Settings.vue";
|
||||
import Setup from "./pages/Setup.vue";
|
||||
import { appName } from "./util.ts";
|
||||
|
||||
const routes = [
|
||||
{
|
||||
@@ -77,6 +78,11 @@ const app = createApp({
|
||||
mixins: [
|
||||
socket,
|
||||
],
|
||||
data() {
|
||||
return {
|
||||
appName: appName
|
||||
}
|
||||
},
|
||||
render: () => h(App),
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user