From f78002f915eeaaf455873106b289c96b8c4afb5d Mon Sep 17 00:00:00 2001 From: CDN Date: Wed, 18 Dec 2024 17:47:17 +0800 Subject: [bugfix] Load instance-wide custom css in page stylesheets template (#3601) * [bugfix] Load instance-wide custom css in page stylesheets template * [chore] remove redunt import --- internal/web/signup.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'internal/web/signup.go') diff --git a/internal/web/signup.go b/internal/web/signup.go index 64b9f4e2d..a943f3680 100644 --- a/internal/web/signup.go +++ b/internal/web/signup.go @@ -126,10 +126,9 @@ func (m *Module) signupPOSTHandler(c *gin.Context) { // Serve a page informing the // user that they've signed up. page := apiutil.WebPage{ - Template: "signed-up.tmpl", - Instance: instance, - Stylesheets: []string{instanceCustomCSSPath}, - OGMeta: apiutil.OGBase(instance), + Template: "signed-up.tmpl", + Instance: instance, + OGMeta: apiutil.OGBase(instance), Extra: map[string]any{ "email": user.UnconfirmedEmail, "username": user.Account.Username, -- cgit v1.2.3