remove the rest of the tv. subdomain

This commit is contained in:
deflax 2024-09-08 00:21:00 +00:00
parent 6a63358940
commit 566bb34603
3 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ logger_job.setLevel(log_level)
logger_content = logging.getLogger('content') logger_content = logging.getLogger('content')
# Variables # 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)) core_sync_period = int(os.environ.get('CORE_SYNC_PERIOD', 15))
api_hostname = os.environ.get('CORE_API_HOSTNAME', 'stream.example.com') api_hostname = os.environ.get('CORE_API_HOSTNAME', 'stream.example.com')
api_username = os.environ.get('CORE_API_AUTH_USERNAME', 'admin') api_username = os.environ.get('CORE_API_AUTH_USERNAME', 'admin')

View file

@ -11,7 +11,7 @@ import logging
bot_token = os.environ.get('DISCORDBOT_TOKEN', 'token') bot_token = os.environ.get('DISCORDBOT_TOKEN', 'token')
live_channel_id = os.environ.get('DISCORDBOT_LIVE_CHANNEL_ID', 0) live_channel_id = os.environ.get('DISCORDBOT_LIVE_CHANNEL_ID', 0)
live_channel_update = os.environ.get('DISCORDBOT_LIVE_CHANNEL_UPDATE', 1440) 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 # Discord API Intents
intents = discord.Intents.all() intents = discord.Intents.all()

View file

@ -5,7 +5,7 @@ CORE_API_HOSTNAME=stream.example.com
CORE_API_AUTH_USERNAME=admin CORE_API_AUTH_USERNAME=admin
CORE_API_AUTH_PASSWORD=changeme CORE_API_AUTH_PASSWORD=changeme
SCHEDULER_LOG_LEVEL=warn SCHEDULER_LOG_LEVEL=warn
SCHEDULER_API_HOSTNAME=tv.example.com SCHEDULER_API_HOSTNAME=api.example.com
DISCORDBOT_TOKEN=changeme DISCORDBOT_TOKEN=changeme
DISCORDBOT_LIVE_CHANNEL_ID=0 DISCORDBOT_LIVE_CHANNEL_ID=0
DISCORDBOT_LIVE_CHANNEL_UPDATE=1440 DISCORDBOT_LIVE_CHANNEL_UPDATE=1440