MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / SessionsPath

Function SessionsPath

apps/server/internal/config/config.go:69–71  ·  view source on GitHub ↗

SessionsPath is where opt-in persisted browser sessions live — next to the host config file (e.g. /data/sessions.json alongside /data/server.json).

()

Source from the content-addressed store, hash-verified

67// SessionsPath is where opt-in persisted browser sessions live — next to the
68// host config file (e.g. /data/sessions.json alongside /data/server.json).
69func SessionsPath() string {
70 return filepath.Join(filepath.Dir(configFilePath()), "sessions.json")
71}
72
73func Load() Config {
74 cfg := Config{

Callers 1

Calls 1

configFilePathFunction · 0.85

Tested by 1