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