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

13 lines
231 B

// +build linux aix zos
// +build !js
package logrus
import "golang.org/x/sys/unix"
const ioctlReadTermios = unix.TCGETS
func isTerminal(fd int) bool {
_, err := unix.IoctlGetTermios(fd, ioctlReadTermios)
return err == nil
}