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