diff options
author | 2021-06-21 19:46:10 +0200 | |
---|---|---|
committer | 2021-06-21 19:46:10 +0200 | |
commit | f9bc305acaaf26bf3c5ef4ae49f7b5a20c9c1dfe (patch) | |
tree | c7312570819f998a51ad79e950baf523ae6426f8 /internal/cliactions/server/server.go | |
parent | Deletes+unboosts (#52) (diff) | |
download | gotosocial-f9bc305acaaf26bf3c5ef4ae49f7b5a20c9c1dfe.tar.xz |
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
Diffstat (limited to 'internal/cliactions/server/server.go')
-rw-r--r-- | internal/cliactions/server/server.go | 3 |
1 files changed, 3 insertions, 0 deletions
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, |