Your ROOT_URL in app.ini is http://git.slaventius.ru/ but you are visiting http://37.143.12.169/test3k/authPostman/commit/b9a94a93bd75f3133a198a55f7b61d5a15226a58?style=unified&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
14 additions and
7 deletions
.vscode/tasks.json
build/Makefile
scripts/start.sh
@ -16,6 +16,8 @@
"cwd" : "${workspaceRoot}" ,
"env" : {
"APP" : "authPostmanService" ,
/ / "GOOS" : "${env:GOOS}" ,
/ / "GOARCH" : "${env:GOARCH}" ,
"GOOS" : "linux" ,
"GOARCH" : "amd64" ,
"GOBIN" : "${env:GOPATH}/bin"
@ -1,7 +1,7 @@
.DEFAULT_GOAL := build
GOOS = linux
GOARCH = amd64
GOOS = $( shell go env GOOS)
GOARCH = $( shell go env GOARCH)
GOBIN = $( shell go env GOPATH) /bin
APP = authPostmanService
APP_BINARY = ${ GOBIN } /${ APP } -${ GOOS } -${ GOARCH }
@ -10,7 +10,7 @@ APP_TAG=slaventius/test3k_auth_postman:latest
clean :
@echo " cleaning ${ APP_BINARY } "
@go clean
@rm ${ APP_BINARY }
@rm -f ${ APP_BINARY }
build : clean
@echo " building ${ APP_BINARY } "
@ -4,8 +4,13 @@ export SMTP_HOST=smtp.mail.ru
export SMTP_PORT = 587
export SMTP_SENDER = test3kbotan@mail.ru
export SMTP_PASSWORD = vSJYfUbpamiUFkKx1DJA
export KAFKA_PORT = 1 9092
export KAFKA_HOST = 127.0.0.1
# export KAFKA_HOST=37.143.12.169
export KAFKA_PORT = 9092
export KAFKA_HOST = 37.143.12.169
export SENTRY_DSN = "https://3f4b31dbbd9a4a6b8a71f9881d962f25@o4504654569799680.ingest.sentry.io/4504654572683264"
./authPostmanService
export APP = authPostmanService
export GOOS = $( eval go env GOOS)
export GOARCH = $( eval go env GOARCH)
export GOBIN = $( eval go env GOPATH) /bin
${ GOBIN } /${ APP } -${ GOOS } -${ GOARCH }