Your ROOT_URL in app.ini is http://git.slaventius.ru/ but you are visiting http://37.143.12.169/test3k/authDB/blame/commit/cbac234845b4d52bf39c50a5c8a81c15f9cf1758/.vscode/tasks.json
You should set ROOT_URL correctly, otherwise the web may not work correctly.
{
"version" : "2.0.0" ,
"tasks" : [
{
"label" : "build" ,
"type" : "shell" ,
"group" : {
"kind" : "build" ,
"isDefault" : true
} ,
"presentation" : {
"echo" : true ,
"panel" : "new"
} ,
"options" : {
"cwd" : "${workspaceRoot}" ,
"env" : {
"APP" : "authDBService" ,
// "GOOS": "${env:GOOS}",
// "GOARCH": "${env:GOARCH}",
"GOOS" : "linux" ,
"GOARCH" : "amd64" ,
"GOBIN" : "${env:GOPATH}/bin"
} ,
"args" : [ "ldflags '-s -w'" ]
} ,
"command" : "go build -o $GOBIN/$APP-$GOOS-$GOARCH -ldflags \"-s -w\" ./cmd/main.go" ,
"problemMatcher" : [ ]
} ,
{
"label" : "docker-build" ,
"type" : "shell" ,
"group" : {
"kind" : "build"
} ,
"presentation" : {
"echo" : true ,
"panel" : "new"
} ,
"options" : {
"cwd" : "${workspaceRoot}" ,
"env" : {
"TAG" : "slaventius/test3k_auth_db:latest"
} ,
"args" : [ "--no-cache" , "--tag $TAG" ]
} ,
"command" : "sudo docker build --no-cache --tag $TAG ./build/" ,
"problemMatcher" : [ ]
} ,
{
"label" : "docker-push" ,
"type" : "shell" ,
"group" : {
"kind" : "build"
} ,
"presentation" : {
"echo" : true ,
"panel" : "new"
} ,
"options" : {
"cwd" : "${workspaceRoot}" ,
"env" : {
"TAG" : "slaventius/test3k_auth_db:latest"
}
} ,
"command" : "sudo docker push $TAG" ,
"problemMatcher" : [ ]
}
]
}