Add managed plugins with lifecycle cleanup and editor extensions
This commit is contained in:
1 parent
9fd7e2a948
commit
8ce4a11b33
25 files changed
+1731
-73
No files matched your search
@@ -96,6 +96,7 @@ func run(addr string) error {
|
||||
|
||||
srv := api.New(v, am, st, hub, idx)
|
||||
srv.ThemesDir = filepath.Join(dataDir, "themes")
|
||||
srv.PluginsDir = filepath.Join(dataDir, "plugins")
|
||||
srv.OnSetup = func() { os.Remove(codeFile) }
|
||||
go srv.FollowMoves(ctx)
|
||||
httpServer := &http.Server{
|
||||
|
||||
Reference in new issue
Block a user