From 9db957e7168bed640e330bd578428c547ebd0537 Mon Sep 17 00:00:00 2001 From: yanghao05 Date: Mon, 28 Apr 2025 21:15:39 +0800 Subject: [PATCH] feat: update admin favicon --- backend/app/service/http/http.go | 1 + frontend/admin/index.html | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/backend/app/service/http/http.go b/backend/app/service/http/http.go index 6e95739..00188bc 100644 --- a/backend/app/service/http/http.go +++ b/backend/app/service/http/http.go @@ -133,6 +133,7 @@ func Serve(cmd *cobra.Command, args []string) error { } return ctx.SendFile(file) }) + svc.Http.Engine.Get("*", func(ctx fiber.Ctx) error { f := ctx.Params("*") if f == "/" || f == "" { diff --git a/frontend/admin/index.html b/frontend/admin/index.html index f907c17..ab02707 100644 --- a/frontend/admin/index.html +++ b/frontend/admin/index.html @@ -5,10 +5,10 @@ Medias - - - - + + + +