Your ROOT_URL in app.ini is http://git.slaventius.ru/ but you are visiting http://37.143.12.169/test3k/authDB/src/commit/a13c9d6b4946462c928007569d99d6800b5bc1fb/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
}