summaryrefslogtreecommitdiff
path: root/internal/cliactions/testrig/testrig.go
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@protonmail.com>2021-06-21 20:40:56 +0200
committerLibravatar tsmethurst <tobi.smethurst@protonmail.com>2021-06-21 20:40:56 +0200
commit38912f5d07d1ceaf912d8335fa18c1276ae72f29 (patch)
tree5bb2bfd18a48a4315daaedda82261d8081f15097 /internal/cliactions/testrig/testrig.go
parentnew styling for frontpage, update login and authorize templates (#46) (diff)
downloadgotosocial-38912f5d07d1ceaf912d8335fa18c1276ae72f29.tar.xz
add web handler to testrig
Diffstat (limited to 'internal/cliactions/testrig/testrig.go')
-rw-r--r--internal/cliactions/testrig/testrig.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/cliactions/testrig/testrig.go b/internal/cliactions/testrig/testrig.go
index b62aec085..04832bfc1 100644
--- a/internal/cliactions/testrig/testrig.go
+++ b/internal/cliactions/testrig/testrig.go
@@ -34,6 +34,7 @@ import (
"github.com/superseriousbusiness/gotosocial/internal/cliactions"
"github.com/superseriousbusiness/gotosocial/internal/config"
"github.com/superseriousbusiness/gotosocial/internal/gotosocial"
+ "github.com/superseriousbusiness/gotosocial/internal/web"
"github.com/superseriousbusiness/gotosocial/testrig"
)
@@ -69,6 +70,7 @@ var Start cliactions.GTSAction = func(ctx context.Context, _ *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)
@@ -89,6 +91,7 @@ var Start cliactions.GTSAction = func(ctx context.Context, _ *config.Config, log
authModule,
// now everything else
+ webBaseModule,
accountModule,
instanceModule,
appsModule,