Commit c3b303ae by Oleksandr Barabash

cleaner url fixed

parent 77030c45
...@@ -15,7 +15,7 @@ class CleanerClient: ...@@ -15,7 +15,7 @@ class CleanerClient:
async def notify_new_ttl(self, ttl: int): async def notify_new_ttl(self, ttl: int):
""" Notify cleaner with the new ttl received """ """ Notify cleaner with the new ttl received """
url = f"{self.domain_name}{self.PATH_TTL}" url = f"https://{self.domain_name}.azurewebsites.net{self.PATH_TTL}"
async with aiohttp.ClientSession() as session: async with aiohttp.ClientSession() as session:
async with session.post(url, json=dict(ttl=ttl)) as response: async with session.post(url, json=dict(ttl=ttl)) as response:
log.info(f"response: {response}") log.info(f"response: {response}")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment