From f9bc305acaaf26bf3c5ef4ae49f7b5a20c9c1dfe Mon Sep 17 00:00:00 2001 From: f0x52 Date: Mon, 21 Jun 2021 19:46:10 +0200 Subject: new styling for frontpage, update login and authorize templates (#46) * new styling for frontpage, update login and authorize templates * run go fmt * add AssetBaseDir to command flag parsing * untested: move landing page to it's own router * go fmt, fix typo * fix package, adapt to proper Route structure --- internal/cliactions/server/server.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal/cliactions/server/server.go') diff --git a/internal/cliactions/server/server.go b/internal/cliactions/server/server.go index 74b1c789a..c27ec7fac 100644 --- a/internal/cliactions/server/server.go +++ b/internal/cliactions/server/server.go @@ -44,6 +44,7 @@ import ( timelineprocessing "github.com/superseriousbusiness/gotosocial/internal/timeline" "github.com/superseriousbusiness/gotosocial/internal/transport" "github.com/superseriousbusiness/gotosocial/internal/typeutils" + "github.com/superseriousbusiness/gotosocial/internal/web" ) var models []interface{} = []interface{}{ @@ -123,6 +124,7 @@ var Start cliactions.GTSAction = func(ctx context.Context, c *config.Config, log appsModule := app.New(c, processor, log) followRequestsModule := followrequest.New(c, processor, log) webfingerModule := webfinger.New(c, processor, log) + webBaseModule := web.New(c, processor, log) usersModule := user.New(c, processor, log) timelineModule := timeline.New(c, processor, log) notificationModule := notification.New(c, processor, log) @@ -143,6 +145,7 @@ var Start cliactions.GTSAction = func(ctx context.Context, c *config.Config, log authModule, // now everything else + webBaseModule, accountModule, instanceModule, appsModule, -- cgit v1.2.3