fix(shared): do not strip vhost slash (#1594)
This commit is contained in:
parent
0bde024bda
commit
42c2ecdf48
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue