fix(shared): do not strip vhost slash (#1594)
This commit is contained in:
parent
0bde024bda
commit
42c2ecdf48
|
@ -128,5 +128,5 @@ class RabbitMQConfig(BaseModel):
|
|||
def url(self) -> str:
|
||||
return (
|
||||
f"amqp://{self.user}:{self.password}"
|
||||
f"@{self.host}:{self.port}/{self.vhost.lstrip('/')}"
|
||||
f"@{self.host}:{self.port}/{self.vhost}"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue