Add synced themes, color modes and custom CSS snippets
This commit is contained in:
1 parent
1562519f08
commit
7f65162115
17 files changed
+766
-36
No files matched your search
@@ -95,6 +95,7 @@ func run(addr string) error {
|
||||
go cleanupSessions(ctx, st)
|
||||
|
||||
srv := api.New(v, am, st, hub, idx)
|
||||
srv.ThemesDir = filepath.Join(dataDir, "themes")
|
||||
srv.OnSetup = func() { os.Remove(codeFile) }
|
||||
go srv.FollowMoves(ctx)
|
||||
httpServer := &http.Server{
|
||||
|
||||
Reference in new issue
Block a user