From 566bb34603df66f3a73bc45c5fa35d76ba034d3f Mon Sep 17 00:00:00 2001 From: deflax Date: Sun, 8 Sep 2024 00:21:00 +0000 Subject: [PATCH] remove the rest of the tv. subdomain --- src/api/api.py | 2 +- src/discordbot/discordbot.py | 2 +- variables.env.dist | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/api.py b/src/api/api.py index c2bd89a..4703c07 100644 --- a/src/api/api.py +++ b/src/api/api.py @@ -25,7 +25,7 @@ logger_job.setLevel(log_level) logger_content = logging.getLogger('content') # Variables -scheduler_hostname = os.environ.get('SCHEDULER_API_HOSTNAME', 'tv.example.com') +scheduler_hostname = os.environ.get('SCHEDULER_API_HOSTNAME', 'api.example.com') core_sync_period = int(os.environ.get('CORE_SYNC_PERIOD', 15)) api_hostname = os.environ.get('CORE_API_HOSTNAME', 'stream.example.com') api_username = os.environ.get('CORE_API_AUTH_USERNAME', 'admin') diff --git a/src/discordbot/discordbot.py b/src/discordbot/discordbot.py index 4239368..49c7081 100644 --- a/src/discordbot/discordbot.py +++ b/src/discordbot/discordbot.py @@ -11,7 +11,7 @@ import logging bot_token = os.environ.get('DISCORDBOT_TOKEN', 'token') live_channel_id = os.environ.get('DISCORDBOT_LIVE_CHANNEL_ID', 0) live_channel_update = os.environ.get('DISCORDBOT_LIVE_CHANNEL_UPDATE', 1440) -scheduler_hostname = os.environ.get('SCHEDULER_API_HOSTNAME', 'tv.example.com') +scheduler_hostname = os.environ.get('SCHEDULER_API_HOSTNAME', 'api.example.com') # Discord API Intents intents = discord.Intents.all() diff --git a/variables.env.dist b/variables.env.dist index 548604f..5c7c3c8 100644 --- a/variables.env.dist +++ b/variables.env.dist @@ -5,7 +5,7 @@ CORE_API_HOSTNAME=stream.example.com CORE_API_AUTH_USERNAME=admin CORE_API_AUTH_PASSWORD=changeme SCHEDULER_LOG_LEVEL=warn -SCHEDULER_API_HOSTNAME=tv.example.com +SCHEDULER_API_HOSTNAME=api.example.com DISCORDBOT_TOKEN=changeme DISCORDBOT_LIVE_CHANNEL_ID=0 DISCORDBOT_LIVE_CHANNEL_UPDATE=1440