fix(shared): do not strip vhost slash (#1594)

This commit is contained in:
Jonas L 2022-02-14 10:25:10 +01:00 committed by GitHub
parent 0bde024bda
commit 42c2ecdf48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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}"
)