mirror of
https://github.com/yudai/gotty.git
synced 2025-12-24 03:10:13 +01:00
Merge profile and config files and support custom index file
This commit is contained in:
parent
25a5bc0b89
commit
d3e48aa3ae
8 changed files with 111 additions and 121 deletions
|
|
@ -126,7 +126,7 @@ func (context *clientContext) sendInitialize() error {
|
|||
}
|
||||
writer.Close()
|
||||
|
||||
prefs, _ := json.Marshal(context.app.preferences)
|
||||
prefs, _ := json.Marshal(context.app.options.Preferences)
|
||||
context.connection.WriteMessage(
|
||||
websocket.TextMessage,
|
||||
append([]byte{SetPreferences}, prefs...),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue