fix: backend config
All checks were successful
Build and Deploy Go App / build (push) Successful in 5m51s
Build and Deploy Go App / deploy (push) Successful in 34s

This commit is contained in:
nihonium 2025-12-04 08:11:51 +03:00
parent e12dff3455
commit 85a3c3ef10
Signed by: nihonium
GPG key ID: 0251623741027CFC
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ func main() {
queries := sqlc.New(pool)
rmqConn, err := amqp091.Dial(AppConfig.rmqURL)
rmqConn, err := amqp091.Dial(AppConfig.RmqURL)
if err != nil {
log.Fatalf("Failed to connect to RabbitMQ: %v", err)
}

View file

@ -6,5 +6,5 @@ type Config struct {
DdUrl string `toml:"DbUrl" env:"DATABASE_URL"`
JwtPrivateKey string `toml:"JwtPrivateKey" env:"JWT_PRIVATE_KEY"`
LogLevel string `toml:"LogLevel" env:"LOG_LEVEL"`
rmqURL string `toml:"RabbitMQUrl" env:"RABBITMQ_URL"`
RmqURL string `toml:"RabbitMQUrl" env:"RABBITMQ_URL"`
}