mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 09:57:01 +00:00
use the new protobuf package and other minor stuff
Former-commit-id: 29bf71e8a73d34b27c6f5fe3f12c4ea1cc2b84b2
This commit is contained in:
4
iris.go
4
iris.go
@@ -1198,7 +1198,7 @@ func (app *Application) tryInjectLiveReload() error {
|
||||
rec.SetBody(body)
|
||||
} else {
|
||||
// Just append it.
|
||||
rec.Write(scriptReloadJS)
|
||||
rec.Write(scriptReloadJS) // nolint:errcheck
|
||||
}
|
||||
|
||||
if _, has := rec.Header()[context.ContentLengthHeaderKey]; has {
|
||||
@@ -1245,7 +1245,7 @@ func (app *Application) tryStartTunneling() {
|
||||
app.config.vhost = publicAddr[strings.Index(publicAddr, "://")+3:]
|
||||
|
||||
directLog := []byte(fmt.Sprintf("• Public Address: %s\n", publicAddr))
|
||||
app.logger.Printer.Write(directLog)
|
||||
app.logger.Printer.Write(directLog) // nolint:errcheck
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user