5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 05:19:11 +08:00

Change 'Headless' to 'Bridge' in logging

This commit is contained in:
Lea Anthony 2019-04-20 12:12:30 +10:00
parent a1230fcbb6
commit 205f9476fa
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405

View File

@ -57,7 +57,7 @@ func (h *Headless) Initialise(appConfig *AppConfig, ipcManager *ipcManager, even
h.appConfig = appConfig
h.eventManager = eventManager
ipcManager.bindRenderer(h)
h.log = newCustomLogger("Headless")
h.log = newCustomLogger("Bridge")
return nil
}
@ -153,8 +153,8 @@ func (h *Headless) Run() error {
h.server = &http.Server{Addr: ":34115"}
http.HandleFunc("/bridge", h.wsBridgeHandler)
h.log.Info("Headless mode started.")
h.log.Info("The Wails bridge will connect automatically.")
h.log.Info("Bridge mode started.")
h.log.Info("The frontend will connect automatically.")
err := h.server.ListenAndServe()
if err != nil {