Your ROOT_URL in app.ini is http://git.slaventius.ru/ but you are visiting http://37.143.12.169/test3k/authDB/src/commit/c4bb7fc554c21a29896765b83d2cdf66019b0485/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go You should set ROOT_URL correctly, otherwise the web may not work correctly.
 
 
 
 
 

13 lines
259 B

// +build darwin dragonfly freebsd netbsd openbsd
// +build !js
package logrus
import "golang.org/x/sys/unix"
const ioctlReadTermios = unix.TIOCGETA
func isTerminal(fd int) bool {
_, err := unix.IoctlGetTermios(fd, ioctlReadTermios)
return err == nil
}