diff options
author | 2020-02-17 16:51:00 +1000 | |
---|---|---|
committer | 2020-02-17 16:51:00 +1000 | |
commit | d955ecc449eee54cfd28504403e569f58707588e (patch) | |
tree | 400634940deefbec56419dc630aec8efc750f0d8 | |
parent | Merge pull request #752 from python-discord/infr-edit-permanent-fix (diff) |
Change snekbox api url to internal docker domain.
NGINX has been dockerised, and proxy passes now reference internal container domains rather than referencing host or external domains.
This will have a few extra benefits:
- Less external factors involved for resolving the service address
- Can work with the same address on development envs
- Snekbox can be closed down entirely so it's inaccessible from external networks.
-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 fda14b511..3345e6f2a 100644 --- a/config-default.yml +++ b/config-default.yml @@ -302,7 +302,7 @@ urls: paste_service: !JOIN [*SCHEMA, *PASTE, "/{key}"] # Snekbox - snekbox_eval_api: "https://snekbox.pythondiscord.com/eval" + snekbox_eval_api: "http://snekbox:8060/eval" # Discord API URLs discord_api: &DISCORD_API "https://discordapp.com/api/v7/" |