From 0384ed7df5d3f353dbc9de2bc2c7e85d14c516a2 Mon Sep 17 00:00:00 2001 From: longjuan <769022681@qq.com> Date: Thu, 9 Mar 2023 16:18:12 +0800 Subject: [PATCH] Make login page use custom favicon (#3484) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /kind improvement /area console /area core #### What this PR does / why we need it: console 端登陆页使用自定义favicon #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/3285 #### Special notes for your reviewer: 在`/actuator/globalinfo`暴露favicon信息,异步获取favicon信息,未获取到数据时浏览器短暂使用默认的`/console/favicon.ico`。 #### Does this PR introduce a user-facing change? ```release-note console 端登陆页使用自定义favicon ``` --- console/src/App.vue | 30 ++++++++++++++----- .../halo/app/actuator/GlobalInfoEndpoint.java | 11 +++++++ 2 files changed, 34 insertions(+), 7 deletions(-) diff --git a/console/src/App.vue b/console/src/App.vue index c4cd57e6f..165a96e24 100644 --- a/console/src/App.vue +++ b/console/src/App.vue @@ -1,10 +1,11 @@