diff options
| author | 2019-06-13 23:39:22 -0700 | |
|---|---|---|
| committer | 2019-06-13 23:39:22 -0700 | |
| commit | 6aaff26efcf9132ed4a3f35e5f2ac4516441027b (patch) | |
| tree | 7dc63dd1135e39c532513ee68c200e6c849ad4b8 | |
| parent | Banish RabbitMQ from this world (diff) | |
Add snekbox endpoint to constants
| -rw-r--r-- | bot/constants.py | 3 | ||||
| -rw-r--r-- | config-default.yml | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py index 3ceecab85..0bd950a7d 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -377,6 +377,9 @@ class Keys(metaclass=YAMLGetter): class URLs(metaclass=YAMLGetter): section = "urls" + # Snekbox endpoints + snekbox_eval_api: str + # Discord API endpoints discord_api: str discord_invite_api: str diff --git a/config-default.yml b/config-default.yml index 8d9d0f999..7854b5db9 100644 --- a/config-default.yml +++ b/config-default.yml @@ -235,6 +235,9 @@ urls: site_user_complete_api: !JOIN [*SCHEMA, *API, "/bot/users/complete"] paste_service: !JOIN [*SCHEMA, *PASTE, "/{key}"] + # Snekbox + snekbox_eval_api: "http://localhost:8060/eval" + # Env vars deploy: !ENV "DEPLOY_URL" status: !ENV "STATUS_URL" |