diff options
author | 2021-12-07 10:13:00 +0000 | |
---|---|---|
committer | 2021-12-07 10:13:00 +0000 | |
commit | 736c0c8e38ed33e23244e9a509820b519482eec6 (patch) | |
tree | cf0399130574548b7d7e591d582417a53945ab58 | |
parent | Merge 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.yml | 2 |
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/" |