mirror of
https://github.com/caronc/apprise.git
synced 2024-11-08 17:24:00 +01:00
Matrix double slash in URL for API call fixed (#411)
This commit is contained in:
parent
ab6b6b51c7
commit
45d5ec1f18
@ -283,7 +283,7 @@ class NotifyMatrix(NotifyBase):
|
|||||||
default_port = 443 if self.secure else 80
|
default_port = 443 if self.secure else 80
|
||||||
|
|
||||||
# Prepare our URL
|
# Prepare our URL
|
||||||
url = '{schema}://{hostname}:{port}/{webhook_path}/{token}'.format(
|
url = '{schema}://{hostname}:{port}{webhook_path}/{token}'.format(
|
||||||
schema='https' if self.secure else 'http',
|
schema='https' if self.secure else 'http',
|
||||||
hostname=self.host,
|
hostname=self.host,
|
||||||
port='' if self.port is None
|
port='' if self.port is None
|
||||||
|
Loading…
Reference in New Issue
Block a user