aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2021-12-07 10:13:00 +0000
committerGravatar Chris Lovering <[email protected]>2021-12-07 10:13:00 +0000
commit736c0c8e38ed33e23244e9a509820b519482eec6 (patch)
treecf0399130574548b7d7e591d582417a53945ab58
parentMerge pull request #1892 from python-discord/Update-Username-Checks (diff)
Make snekbox url an env var
An issue with snekbox in our cluster has meant that we want to send requests to an external service temporarily while we get this fixed. Making this an env var means we can change this whenever needed in future without leaking the external service's url.
-rw-r--r--config-default.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-default.yml b/config-default.yml
index 0d3ddc005..1e04f5844 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -377,7 +377,7 @@ urls:
site_logs_view: !JOIN [*STAFF, "/bot/logs"]
# Snekbox
- snekbox_eval_api: "http://snekbox.default.svc.cluster.local/eval"
+ snekbox_eval_api: !ENV ["SNEKBOX_EVAL_API", "http://snekbox.default.svc.cluster.local/eval"]
# Discord API URLs
discord_api: &DISCORD_API "https://discordapp.com/api/v7/"