From 0922f83bb92ddea1ed4fcc8ae8bac90a387624f0 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Sun, 14 May 2023 00:29:35 +0800 Subject: [PATCH] fix: fix website title with global config --- client/shared/utils/consts.ts | 1 + client/web/assets/template.html | 5 ++--- client/web/build/webpack.config.ts | 1 - client/web/src/App.tsx | 5 +++++ 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/client/shared/utils/consts.ts b/client/shared/utils/consts.ts index 130323e2..59048c44 100644 --- a/client/shared/utils/consts.ts +++ b/client/shared/utils/consts.ts @@ -21,6 +21,7 @@ export const SYSTEM_USERID = '000000000000000000000000'; export const defaultGlobalConfig: GlobalConfig = { uploadFileLimit: 1 * 1024 * 1024, emailVerification: false, + serverName: 'Tailchat', disableUserRegister: false, disableGuestLogin: false, }; diff --git a/client/web/assets/template.html b/client/web/assets/template.html index 9f72398b..248c1c80 100644 --- a/client/web/assets/template.html +++ b/client/web/assets/template.html @@ -3,8 +3,8 @@ - - + + @@ -14,7 +14,6 @@ - <%= htmlWebpackPlugin.options.title %>