Your ROOT_URL in app.ini is http://git.slaventius.ru/ but you are visiting http://37.143.12.169/test3k/auth/blame/commit/a85357e417a59c1d42d2204788e666662a1c25f2/.vscode/tasks.json You should set ROOT_URL correctly, otherwise the web may not work correctly.

55 lines
1.6 KiB

3 years ago
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "build linux",
"type": "shell",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"echo": true,
"panel": "new"
},
"options": {
"cwd": "${workspaceRoot}",
"env": {
"APP": "pakitara",
"GOOS": "linux",
"GOARCH": "amd64",
"GOBIN": "${env:GOPATH}/bin"
},
"args": [
"ldflags '-s -w'"
]
},
"command": "go build -o $GOBIN/$APP-$GOOS-$GOARCH -ldflags \"-s -w\" $APP.go",
"problemMatcher": []
},
{
"label": "build windows",
"type": "shell",
"group": "build",
"presentation": {
"echo": true,
"panel": "new"
},
"options": {
"cwd": "${workspaceRoot}",
"env": {
"APP": "pakitara",
"GOOS": "windows",
"GOARCH": "amd64",
"GOBIN": "${env:GOPATH}/bin"
},
"args": [
"ldflags '-s -w'"
]
},
"command": "go build -o $GOBIN\\$APP-$GOOS-$GOARCH.exe -ldflags \"-s -w\" $APP.go"
}
]
}