remove old links (#1243)
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "Updated Terms of Service",
|
"title": "Updated Terms of Service",
|
||||||
"body": "We've updated our [Terms of Service](https://srebot-meow.ing/terms) with new sections covering **Premium Subscription Terms** (billing, cancellation, refunds, price changes) and **Service Availability & Liability** (warranty, liability limits, service credits for outages). Please review the updated terms at your convenience.",
|
"body": "We've updated our [Terms of Service](https://sre.pawjob.us/terms) with new sections covering **Premium Subscription Terms** (billing, cancellation, refunds, price changes) and **Service Availability & Liability** (warranty, liability limits, service credits for outages). Please review the updated terms at your convenience.",
|
||||||
"expires": 1778716800
|
"expires": 1778716800
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
+2
-2
@@ -1237,7 +1237,7 @@ def build_scoreboard_view(guild_id: int, session_id: str, lang: str = "en") -> d
|
|||||||
"""
|
"""
|
||||||
view = discord.ui.View(timeout=None)
|
view = discord.ui.View(timeout=None)
|
||||||
session_url = f"https://warthunder.com/en/tournament/replay/{int(session_id, 16)}"
|
session_url = f"https://warthunder.com/en/tournament/replay/{int(session_id, 16)}"
|
||||||
web_url = f"https://srebot-meow.ing/games/{session_id}"
|
web_url = f"https://sre.pawjob.us/games/{session_id}"
|
||||||
|
|
||||||
replay_button = discord.ui.Button(
|
replay_button = discord.ui.Button(
|
||||||
label=t(lang, "buttons.view_replay"),
|
label=t(lang, "buttons.view_replay"),
|
||||||
@@ -1391,7 +1391,7 @@ async def handle_view_video(interaction: discord.Interaction, session_id: str):
|
|||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
web_url = f"https://srebot-meow.ing/games/{session_id}"
|
web_url = f"https://sre.pawjob.us/games/{session_id}"
|
||||||
try:
|
try:
|
||||||
await interaction.followup.send(
|
await interaction.followup.send(
|
||||||
content=t(_lang, "autolog.video_web_fallback", url=web_url),
|
content=t(_lang, "autolog.video_web_fallback", url=web_url),
|
||||||
|
|||||||
+7
-7
@@ -3234,7 +3234,7 @@ async def loss_calculator_error(interaction, error):
|
|||||||
async def website(interaction: discord.Interaction):
|
async def website(interaction: discord.Interaction):
|
||||||
"""Send the SRE Bot website URL."""
|
"""Send the SRE Bot website URL."""
|
||||||
await collect_command_stats(interaction)
|
await collect_command_stats(interaction)
|
||||||
await interaction.response.send_message("https://srebot-meow.ing/")
|
await interaction.response.send_message("https://sre.pawjob.us/")
|
||||||
|
|
||||||
|
|
||||||
@website.error
|
@website.error
|
||||||
@@ -4859,7 +4859,7 @@ class CompareGraphView(View):
|
|||||||
self.add_item(discord.ui.Button(
|
self.add_item(discord.ui.Button(
|
||||||
label=p["nick"][:80],
|
label=p["nick"][:80],
|
||||||
style=discord.ButtonStyle.link,
|
style=discord.ButtonStyle.link,
|
||||||
url=f"https://srebot-meow.ing/players/{p['uid']}",
|
url=f"https://sre.pawjob.us/players/{p['uid']}",
|
||||||
row=0 if i < 4 else 1,
|
row=0 if i < 4 else 1,
|
||||||
))
|
))
|
||||||
self.show_graph.label = t(lang, "buttons.show_graph")
|
self.show_graph.label = t(lang, "buttons.show_graph")
|
||||||
@@ -4966,7 +4966,7 @@ async def leaderboard(interaction: discord.Interaction):
|
|||||||
"""Send the SRE Bot global leaderboard URL."""
|
"""Send the SRE Bot global leaderboard URL."""
|
||||||
await collect_command_stats(interaction)
|
await collect_command_stats(interaction)
|
||||||
await interaction.response.send_message(
|
await interaction.response.send_message(
|
||||||
"https://srebot-meow.ing/leaderboard/players"
|
"https://sre.pawjob.us/leaderboard/players"
|
||||||
)
|
)
|
||||||
|
|
||||||
@leaderboard.error
|
@leaderboard.error
|
||||||
@@ -8446,7 +8446,7 @@ async def unlock_cmd(interaction: discord.Interaction):
|
|||||||
_maybe_add_sku(DISCORD_SKU_ID_MAX)
|
_maybe_add_sku(DISCORD_SKU_ID_MAX)
|
||||||
view.add_item(discord.ui.Button(
|
view.add_item(discord.ui.Button(
|
||||||
label=t(lang, "buttons.subscribe_website"),
|
label=t(lang, "buttons.subscribe_website"),
|
||||||
url="https://srebot-meow.ing/premium",
|
url="https://sre.pawjob.us/premium",
|
||||||
style=discord.ButtonStyle.link,
|
style=discord.ButtonStyle.link,
|
||||||
))
|
))
|
||||||
|
|
||||||
@@ -8488,7 +8488,7 @@ async def unlock_cmd(interaction: discord.Interaction):
|
|||||||
for ht in higher_tiers:
|
for ht in higher_tiers:
|
||||||
view.add_item(discord.ui.Button(
|
view.add_item(discord.ui.Button(
|
||||||
label=t(lang, "unlock.upgrade_to", tier=ht.title()),
|
label=t(lang, "unlock.upgrade_to", tier=ht.title()),
|
||||||
url=f"https://srebot-meow.ing/premium#{ht}",
|
url=f"https://sre.pawjob.us/premium#{ht}",
|
||||||
style=discord.ButtonStyle.link,
|
style=discord.ButtonStyle.link,
|
||||||
))
|
))
|
||||||
|
|
||||||
@@ -8678,8 +8678,8 @@ async def help(interaction: discord.Interaction):
|
|||||||
"""Display the full 29-command guide with documentation and support links."""
|
"""Display the full 29-command guide with documentation and support links."""
|
||||||
await collect_command_stats(interaction)
|
await collect_command_stats(interaction)
|
||||||
support_server = "https://discord.gg/BCvkK8JhPe"
|
support_server = "https://discord.gg/BCvkK8JhPe"
|
||||||
documentation_link = "https://srebot-meow.ing/docs"
|
documentation_link = "https://sre.pawjob.us/docs"
|
||||||
tos_link = "https://srebot-meow.ing/terms"
|
tos_link = "https://sre.pawjob.us/terms"
|
||||||
lang = await guild_lang(interaction.guild.id) if interaction.guild else 'en'
|
lang = await guild_lang(interaction.guild.id) if interaction.guild else 'en'
|
||||||
|
|
||||||
command_rows = [
|
command_rows = [
|
||||||
|
|||||||
+1
-1
@@ -529,7 +529,7 @@
|
|||||||
"no_channels_desc": "No channels available",
|
"no_channels_desc": "No channels available",
|
||||||
"over_cap_title": "Squadrona nad limitem vašeho tarifu",
|
"over_cap_title": "Squadrona nad limitem vašeho tarifu",
|
||||||
"over_cap_desc": "Váš server má tarif **{tier}**, který umožňuje **{cap} {notif}** squadron. Squadrona **{squadron}** je nad limitem a nezaznamenává se. Upgradujte pro obnovení.",
|
"over_cap_desc": "Váš server má tarif **{tier}**, který umožňuje **{cap} {notif}** squadron. Squadrona **{squadron}** je nad limitem a nezaznamenává se. Upgradujte pro obnovení.",
|
||||||
"over_cap_footer": "Upgrade na srebot-meow.ing/premium nebo /unlock",
|
"over_cap_footer": "Upgrade na sre.pawjob.us/premium nebo /unlock",
|
||||||
"wildcard_blocked_title": "Wildcard vyžaduje vyšší tarif",
|
"wildcard_blocked_title": "Wildcard vyžaduje vyšší tarif",
|
||||||
"wildcard_blocked_desc": "Wildcard záznamy (*, all, everything) jsou dostupné pouze v Pro nebo Max. Váš server je na **{tier}** pro {notif}. Upgradujte pro povolení.",
|
"wildcard_blocked_desc": "Wildcard záznamy (*, all, everything) jsou dostupné pouze v Pro nebo Max. Váš server je na **{tier}** pro {notif}. Upgradujte pro povolení.",
|
||||||
"cap_header": "{used}/{cap} {notif} aktivních — tarif {tier}"
|
"cap_header": "{used}/{cap} {notif} aktivních — tarif {tier}"
|
||||||
|
|||||||
+1
-1
@@ -529,7 +529,7 @@
|
|||||||
"no_channels_desc": "No channels available",
|
"no_channels_desc": "No channels available",
|
||||||
"over_cap_title": "Geschwader über dem Tarif-Limit",
|
"over_cap_title": "Geschwader über dem Tarif-Limit",
|
||||||
"over_cap_desc": "Dein Server nutzt den **{tier}**-Tarif, der **{cap}** Geschwader für **{notif}** erlaubt. Das Geschwader **{squadron}** liegt aktuell über dem Limit und wird nicht geloggt. Upgrade für mehr Kapazität.",
|
"over_cap_desc": "Dein Server nutzt den **{tier}**-Tarif, der **{cap}** Geschwader für **{notif}** erlaubt. Das Geschwader **{squadron}** liegt aktuell über dem Limit und wird nicht geloggt. Upgrade für mehr Kapazität.",
|
||||||
"over_cap_footer": "Upgrade unter srebot-meow.ing/premium oder /unlock",
|
"over_cap_footer": "Upgrade unter sre.pawjob.us/premium oder /unlock",
|
||||||
"wildcard_blocked_title": "Wildcard-Logging erfordert einen höheren Tarif",
|
"wildcard_blocked_title": "Wildcard-Logging erfordert einen höheren Tarif",
|
||||||
"wildcard_blocked_desc": "Wildcard-Einträge (*, all, everything) sind nur in Pro/Max verfügbar. Dein Server ist auf **{tier}** für {notif}. Upgrade zum Aktivieren.",
|
"wildcard_blocked_desc": "Wildcard-Einträge (*, all, everything) sind nur in Pro/Max verfügbar. Dein Server ist auf **{tier}** für {notif}. Upgrade zum Aktivieren.",
|
||||||
"cap_header": "{used}/{cap} {notif} aktiviert — {tier}-Tarif"
|
"cap_header": "{used}/{cap} {notif} aktiviert — {tier}-Tarif"
|
||||||
|
|||||||
+1
-1
@@ -529,7 +529,7 @@
|
|||||||
"no_channels_desc": "No channels available",
|
"no_channels_desc": "No channels available",
|
||||||
"over_cap_title": "Squadron over your tier cap",
|
"over_cap_title": "Squadron over your tier cap",
|
||||||
"over_cap_desc": "Your server is on the **{tier}** tier, which allows **{cap} {notif}** squadrons. The squadron **{squadron}** is currently over that limit and not being logged. Upgrade to a higher tier to restore it.",
|
"over_cap_desc": "Your server is on the **{tier}** tier, which allows **{cap} {notif}** squadrons. The squadron **{squadron}** is currently over that limit and not being logged. Upgrade to a higher tier to restore it.",
|
||||||
"over_cap_footer": "Upgrade at srebot-meow.ing/premium or via /unlock",
|
"over_cap_footer": "Upgrade at sre.pawjob.us/premium or via /unlock",
|
||||||
"wildcard_blocked_title": "Wildcard logging requires a higher tier",
|
"wildcard_blocked_title": "Wildcard logging requires a higher tier",
|
||||||
"wildcard_blocked_desc": "Wildcard squadron entries (*, all, everything) are only available on Pro or Max tiers. Your server is on **{tier}** for {notif}. Upgrade to re-enable wildcard logging.",
|
"wildcard_blocked_desc": "Wildcard squadron entries (*, all, everything) are only available on Pro or Max tiers. Your server is on **{tier}** for {notif}. Upgrade to re-enable wildcard logging.",
|
||||||
"cap_header": "{used}/{cap} {notif} enabled — {tier} tier"
|
"cap_header": "{used}/{cap} {notif} enabled — {tier} tier"
|
||||||
|
|||||||
+1
-1
@@ -529,7 +529,7 @@
|
|||||||
"no_channels_desc": "No channels available",
|
"no_channels_desc": "No channels available",
|
||||||
"over_cap_title": "Escuadrón sobre el límite de tu nivel",
|
"over_cap_title": "Escuadrón sobre el límite de tu nivel",
|
||||||
"over_cap_desc": "Tu servidor está en el nivel **{tier}**, que permite **{cap} {notif}** escuadrones. El escuadrón **{squadron}** supera el límite y no se está registrando. Mejora tu nivel para restaurarlo.",
|
"over_cap_desc": "Tu servidor está en el nivel **{tier}**, que permite **{cap} {notif}** escuadrones. El escuadrón **{squadron}** supera el límite y no se está registrando. Mejora tu nivel para restaurarlo.",
|
||||||
"over_cap_footer": "Mejora en srebot-meow.ing/premium o con /unlock",
|
"over_cap_footer": "Mejora en sre.pawjob.us/premium o con /unlock",
|
||||||
"wildcard_blocked_title": "Wildcard requiere un nivel superior",
|
"wildcard_blocked_title": "Wildcard requiere un nivel superior",
|
||||||
"wildcard_blocked_desc": "Las entradas wildcard (*, all, everything) sólo están disponibles en Pro o Max. Tu servidor está en **{tier}** para {notif}. Mejora para habilitarlo.",
|
"wildcard_blocked_desc": "Las entradas wildcard (*, all, everything) sólo están disponibles en Pro o Max. Tu servidor está en **{tier}** para {notif}. Mejora para habilitarlo.",
|
||||||
"cap_header": "{used}/{cap} {notif} activos — nivel {tier}"
|
"cap_header": "{used}/{cap} {notif} activos — nivel {tier}"
|
||||||
|
|||||||
+1
-1
@@ -529,7 +529,7 @@
|
|||||||
"no_channels_desc": "No channels available",
|
"no_channels_desc": "No channels available",
|
||||||
"over_cap_title": "Escadron au-dessus de la limite du tier",
|
"over_cap_title": "Escadron au-dessus de la limite du tier",
|
||||||
"over_cap_desc": "Votre serveur est sur le tier **{tier}**, qui autorise **{cap} {notif}** escadrons. L'escadron **{squadron}** dépasse la limite et n'est pas enregistré. Passez à un tier supérieur pour le restaurer.",
|
"over_cap_desc": "Votre serveur est sur le tier **{tier}**, qui autorise **{cap} {notif}** escadrons. L'escadron **{squadron}** dépasse la limite et n'est pas enregistré. Passez à un tier supérieur pour le restaurer.",
|
||||||
"over_cap_footer": "Mise à niveau sur srebot-meow.ing/premium ou via /unlock",
|
"over_cap_footer": "Mise à niveau sur sre.pawjob.us/premium ou via /unlock",
|
||||||
"wildcard_blocked_title": "Le logging wildcard nécessite un tier supérieur",
|
"wildcard_blocked_title": "Le logging wildcard nécessite un tier supérieur",
|
||||||
"wildcard_blocked_desc": "Les entrées wildcard (*, all, everything) ne sont disponibles que sur Pro ou Max. Votre serveur est sur **{tier}** pour {notif}. Mise à niveau requise.",
|
"wildcard_blocked_desc": "Les entrées wildcard (*, all, everything) ne sont disponibles que sur Pro ou Max. Votre serveur est sur **{tier}** pour {notif}. Mise à niveau requise.",
|
||||||
"cap_header": "{used}/{cap} {notif} activés — tier {tier}"
|
"cap_header": "{used}/{cap} {notif} activés — tier {tier}"
|
||||||
|
|||||||
+1
-1
@@ -529,7 +529,7 @@
|
|||||||
"no_channels_desc": "No channels available",
|
"no_channels_desc": "No channels available",
|
||||||
"over_cap_title": "Squadrone oltre il limite del tuo piano",
|
"over_cap_title": "Squadrone oltre il limite del tuo piano",
|
||||||
"over_cap_desc": "Il tuo server è sul piano **{tier}**, che consente **{cap} {notif}** squadroni. Lo squadrone **{squadron}** supera il limite e non viene registrato. Passa a un piano superiore per ripristinarlo.",
|
"over_cap_desc": "Il tuo server è sul piano **{tier}**, che consente **{cap} {notif}** squadroni. Lo squadrone **{squadron}** supera il limite e non viene registrato. Passa a un piano superiore per ripristinarlo.",
|
||||||
"over_cap_footer": "Aggiorna su srebot-meow.ing/premium o con /unlock",
|
"over_cap_footer": "Aggiorna su sre.pawjob.us/premium o con /unlock",
|
||||||
"wildcard_blocked_title": "Il wildcard richiede un piano superiore",
|
"wildcard_blocked_title": "Il wildcard richiede un piano superiore",
|
||||||
"wildcard_blocked_desc": "Gli squadroni wildcard (*, all, everything) sono disponibili solo su Pro o Max. Il tuo server è su **{tier}** per {notif}. Aggiorna per abilitarli.",
|
"wildcard_blocked_desc": "Gli squadroni wildcard (*, all, everything) sono disponibili solo su Pro o Max. Il tuo server è su **{tier}** per {notif}. Aggiorna per abilitarli.",
|
||||||
"cap_header": "{used}/{cap} {notif} attivati — piano {tier}"
|
"cap_header": "{used}/{cap} {notif} attivati — piano {tier}"
|
||||||
|
|||||||
+1
-1
@@ -529,7 +529,7 @@
|
|||||||
"no_channels_desc": "No channels available",
|
"no_channels_desc": "No channels available",
|
||||||
"over_cap_title": "Klan powyżej limitu Twojego planu",
|
"over_cap_title": "Klan powyżej limitu Twojego planu",
|
||||||
"over_cap_desc": "Twój serwer ma plan **{tier}**, który pozwala na **{cap} {notif}** klanów. Klan **{squadron}** jest powyżej limitu i nie jest rejestrowany. Zmień plan, aby przywrócić.",
|
"over_cap_desc": "Twój serwer ma plan **{tier}**, który pozwala na **{cap} {notif}** klanów. Klan **{squadron}** jest powyżej limitu i nie jest rejestrowany. Zmień plan, aby przywrócić.",
|
||||||
"over_cap_footer": "Zmień plan na srebot-meow.ing/premium lub /unlock",
|
"over_cap_footer": "Zmień plan na sre.pawjob.us/premium lub /unlock",
|
||||||
"wildcard_blocked_title": "Wildcard wymaga wyższego planu",
|
"wildcard_blocked_title": "Wildcard wymaga wyższego planu",
|
||||||
"wildcard_blocked_desc": "Wpisy wildcard (*, all, everything) są dostępne tylko w planach Pro i Max. Twój serwer ma **{tier}** dla {notif}. Zaktualizuj, aby włączyć.",
|
"wildcard_blocked_desc": "Wpisy wildcard (*, all, everything) są dostępne tylko w planach Pro i Max. Twój serwer ma **{tier}** dla {notif}. Zaktualizuj, aby włączyć.",
|
||||||
"cap_header": "{used}/{cap} {notif} włączonych — plan {tier}"
|
"cap_header": "{used}/{cap} {notif} włączonych — plan {tier}"
|
||||||
|
|||||||
+1
-1
@@ -529,7 +529,7 @@
|
|||||||
"no_channels_desc": "No channels available",
|
"no_channels_desc": "No channels available",
|
||||||
"over_cap_title": "Esquadrão acima do limite do seu plano",
|
"over_cap_title": "Esquadrão acima do limite do seu plano",
|
||||||
"over_cap_desc": "Seu servidor está no plano **{tier}**, que permite **{cap} {notif}** esquadrões. O esquadrão **{squadron}** está acima do limite e não está sendo registrado. Atualize para um plano maior.",
|
"over_cap_desc": "Seu servidor está no plano **{tier}**, que permite **{cap} {notif}** esquadrões. O esquadrão **{squadron}** está acima do limite e não está sendo registrado. Atualize para um plano maior.",
|
||||||
"over_cap_footer": "Atualize em srebot-meow.ing/premium ou via /unlock",
|
"over_cap_footer": "Atualize em sre.pawjob.us/premium ou via /unlock",
|
||||||
"wildcard_blocked_title": "Wildcard requer um plano superior",
|
"wildcard_blocked_title": "Wildcard requer um plano superior",
|
||||||
"wildcard_blocked_desc": "Entradas wildcard (*, all, everything) só estão disponíveis nos planos Pro ou Max. Seu servidor está em **{tier}** para {notif}. Atualize para habilitar.",
|
"wildcard_blocked_desc": "Entradas wildcard (*, all, everything) só estão disponíveis nos planos Pro ou Max. Seu servidor está em **{tier}** para {notif}. Atualize para habilitar.",
|
||||||
"cap_header": "{used}/{cap} {notif} ativos — plano {tier}"
|
"cap_header": "{used}/{cap} {notif} ativos — plano {tier}"
|
||||||
|
|||||||
+1
-1
@@ -529,7 +529,7 @@
|
|||||||
"no_channels_desc": "No channels available",
|
"no_channels_desc": "No channels available",
|
||||||
"over_cap_title": "Полк превышает лимит вашего тарифа",
|
"over_cap_title": "Полк превышает лимит вашего тарифа",
|
||||||
"over_cap_desc": "Ваш сервер на тарифе **{tier}**, который разрешает **{cap}** полков для **{notif}**. Полк **{squadron}** сейчас сверх лимита и не логируется. Перейдите на более высокий тариф, чтобы восстановить.",
|
"over_cap_desc": "Ваш сервер на тарифе **{tier}**, который разрешает **{cap}** полков для **{notif}**. Полк **{squadron}** сейчас сверх лимита и не логируется. Перейдите на более высокий тариф, чтобы восстановить.",
|
||||||
"over_cap_footer": "Повысить тариф: srebot-meow.ing/premium или /unlock",
|
"over_cap_footer": "Повысить тариф: sre.pawjob.us/premium или /unlock",
|
||||||
"wildcard_blocked_title": "Для подстановочных символов нужен тариф выше",
|
"wildcard_blocked_title": "Для подстановочных символов нужен тариф выше",
|
||||||
"wildcard_blocked_desc": "Подстановочные полки (*, all, everything) доступны только на тарифах Pro и Max. Ваш сервер на **{tier}** для {notif}. Повысьте тариф, чтобы включить их.",
|
"wildcard_blocked_desc": "Подстановочные полки (*, all, everything) доступны только на тарифах Pro и Max. Ваш сервер на **{tier}** для {notif}. Повысьте тариф, чтобы включить их.",
|
||||||
"cap_header": "{used}/{cap} {notif} включено — тариф {tier}"
|
"cap_header": "{used}/{cap} {notif} включено — тариф {tier}"
|
||||||
|
|||||||
+1
-1
@@ -529,7 +529,7 @@
|
|||||||
"no_channels_desc": "No channels available",
|
"no_channels_desc": "No channels available",
|
||||||
"over_cap_title": "Полк перевищує ліміт вашого тарифу",
|
"over_cap_title": "Полк перевищує ліміт вашого тарифу",
|
||||||
"over_cap_desc": "Ваш сервер на тарифі **{tier}**, який дозволяє **{cap} {notif}** полків. Полк **{squadron}** зараз перевищує ліміт і не логується. Перейдіть на вищий тариф для відновлення.",
|
"over_cap_desc": "Ваш сервер на тарифі **{tier}**, який дозволяє **{cap} {notif}** полків. Полк **{squadron}** зараз перевищує ліміт і не логується. Перейдіть на вищий тариф для відновлення.",
|
||||||
"over_cap_footer": "Оновити на srebot-meow.ing/premium або через /unlock",
|
"over_cap_footer": "Оновити на sre.pawjob.us/premium або через /unlock",
|
||||||
"wildcard_blocked_title": "Для wildcard потрібен вищий тариф",
|
"wildcard_blocked_title": "Для wildcard потрібен вищий тариф",
|
||||||
"wildcard_blocked_desc": "Wildcard-записи (*, all, everything) доступні лише на тарифах Pro або Max. Ваш сервер на **{tier}** для {notif}. Оновіть, щоб увімкнути.",
|
"wildcard_blocked_desc": "Wildcard-записи (*, all, everything) доступні лише на тарифах Pro або Max. Ваш сервер на **{tier}** для {notif}. Оновіть, щоб увімкнути.",
|
||||||
"cap_header": "{used}/{cap} {notif} активних — тариф {tier}"
|
"cap_header": "{used}/{cap} {notif} активних — тариф {tier}"
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@ NODE_ENV=production
|
|||||||
PORT=3000
|
PORT=3000
|
||||||
|
|
||||||
# Domain Configuration (CORS)
|
# Domain Configuration (CORS)
|
||||||
PRODUCTION_DOMAIN=https://srebot-meow.ing
|
PRODUCTION_DOMAIN=https://sre.pawjob.us
|
||||||
|
|
||||||
# External API Configuration
|
# External API Configuration
|
||||||
EXTERNAL_API_URL=http://localhost:6000
|
EXTERNAL_API_URL=http://localhost:6000
|
||||||
|
|||||||
+1
-1
@@ -13,7 +13,7 @@ PORT=3001
|
|||||||
EXTERNAL_API_URL=http://localhost:6000
|
EXTERNAL_API_URL=http://localhost:6000
|
||||||
|
|
||||||
# Domain Config (used for CORS)
|
# Domain Config (used for CORS)
|
||||||
PRODUCTION_DOMAIN=https://srebot-meow.ing
|
PRODUCTION_DOMAIN=https://sre.pawjob.us
|
||||||
|
|
||||||
# API Security (optional - auto-generates if not set)
|
# API Security (optional - auto-generates if not set)
|
||||||
# Generate with: openssl rand -hex 32
|
# Generate with: openssl rand -hex 32
|
||||||
|
|||||||
+2
-2
@@ -194,7 +194,7 @@ app.use(compression({
|
|||||||
const corsOptions = {
|
const corsOptions = {
|
||||||
origin: function (origin, callback) {
|
origin: function (origin, callback) {
|
||||||
const allowedOrigins = process.env.NODE_ENV === 'production'
|
const allowedOrigins = process.env.NODE_ENV === 'production'
|
||||||
? [process.env.PRODUCTION_DOMAIN || 'https://srebot-meow.ing']
|
? [process.env.PRODUCTION_DOMAIN || 'https://sre.pawjob.us']
|
||||||
: ['http://localhost:3000', 'http://localhost:3001'];
|
: ['http://localhost:3000', 'http://localhost:3001'];
|
||||||
|
|
||||||
|
|
||||||
@@ -216,7 +216,7 @@ const corsOptions = {
|
|||||||
const apiCorsOptions = {
|
const apiCorsOptions = {
|
||||||
origin: function (origin, callback) {
|
origin: function (origin, callback) {
|
||||||
const allowedOrigins = process.env.NODE_ENV === 'production'
|
const allowedOrigins = process.env.NODE_ENV === 'production'
|
||||||
? [process.env.PRODUCTION_DOMAIN || 'https://srebot-meow.ing']
|
? [process.env.PRODUCTION_DOMAIN || 'https://sre.pawjob.us']
|
||||||
: ['http://localhost:3000', 'http://localhost:3001'];
|
: ['http://localhost:3000', 'http://localhost:3001'];
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -94,7 +94,7 @@
|
|||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
.switcher-card.card-tss .switcher-title {
|
.switcher-card.card-tss .switcher-title {
|
||||||
background: linear-gradient(95deg,#ff9d00,#ffd28a 70%);
|
background: linear-gradient(95deg,#fff7e8,#ffdca3 58%,#fffdf8);
|
||||||
-webkit-background-clip: text;
|
-webkit-background-clip: text;
|
||||||
background-clip: text;
|
background-clip: text;
|
||||||
-webkit-text-fill-color: transparent;
|
-webkit-text-fill-color: transparent;
|
||||||
@@ -141,7 +141,7 @@
|
|||||||
<div class="switcher-card-inner">
|
<div class="switcher-card-inner">
|
||||||
<div class="switcher-text">
|
<div class="switcher-text">
|
||||||
<span class="switcher-title">TSS</span>
|
<span class="switcher-title">TSS</span>
|
||||||
<span class="switcher-sub"><span class="switcher-pip"></span>tss bot</span>
|
<span class="switcher-sub"><span class="switcher-pip"></span>tssbot</span>
|
||||||
</div>
|
</div>
|
||||||
<img src="/images/light_fury_match.jpg" alt="Light Fury" class="switcher-pfp" width="56" height="56">
|
<img src="/images/light_fury_match.jpg" alt="Light Fury" class="switcher-pfp" width="56" height="56">
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user