Skip to content

Commit d30a233

Browse files
committed
Fix nats url environment variable
1 parent 52f3377 commit d30a233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/configuration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ impl Config {
3535
Config {
3636
environment: env_with_default("ENVIRONMENT", Environment::Development),
3737
mode: env_with_default("MODE", Mode::STATIC),
38-
nats_url: env_with_default("RABBITMQ_URL", String::from("amqp://localhost:5672")),
38+
nats_url: env_with_default("NATS_URL", String::from("nats://localhost:5672")),
3939
aquila_url: env_with_default("AQUILA_URL", String::from("http://localhost:50051")),
4040
with_health_service: env_with_default("WITH_HEALTH_SERVICE", false),
4141
grpc_host: env_with_default("GRPC_HOST", "127.0.0.1".to_string()),

0 commit comments

Comments
 (0)