Skip to content

Commit 577ded4

Browse files
Register Files plugin
1 parent 91fe95b commit 577ded4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cmd/agentbbs/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ import (
7070
"github.com/profullstack/agentbbs/internal/store"
7171
"github.com/profullstack/agentbbs/internal/tor"
7272
"github.com/profullstack/agentbbs/plugins/about"
73+
"github.com/profullstack/agentbbs/plugins/files"
7374
"github.com/profullstack/agentbbs/plugins/agentgames"
7475
"github.com/profullstack/agentbbs/plugins/arcade"
7576
qryptinviteplugin "github.com/profullstack/agentbbs/plugins/qryptinvite"
@@ -171,7 +172,7 @@ func main() {
171172
a.mm = games.NewMatchmaker(a.gamesReg, a.st,
172173
time.Duration(envInt("AGENTBBS_GAME_MOVE_TIMEOUT", 15))*time.Second,
173174
time.Duration(envInt("AGENTBBS_GAME_QUEUE_WAIT", 120))*time.Second)
174-
a.registry = []plugin.Plugin{arcade.Plugin{}, agentgames.New(a.gamesReg), qryptinviteplugin.Plugin{}, about.Plugin{}}
175+
a.registry = []plugin.Plugin{arcade.Plugin{}, agentgames.New(a.gamesReg), qryptinviteplugin.Plugin{}, about.Plugin{}, files.Plugin{}}
175176

176177
// Custom domains: maintain the symlink farm Caddy serves and answer its
177178
// on-demand-TLS "ask" query so certs are only issued for mapped domains.

0 commit comments

Comments
 (0)