From 6a3a35182e0329571f92b04879a7b63f870ef05e Mon Sep 17 00:00:00 2001 From: GQ Qin Date: Wed, 23 Nov 2022 03:46:34 +0000 Subject: [PATCH] fix host check in setup --- relay/manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay/manage.py b/relay/manage.py index 2031cb8..0a543f5 100644 --- a/relay/manage.py +++ b/relay/manage.py @@ -330,7 +330,7 @@ def relay_setup(): while True: app.config.host = click.prompt('What domain will the relay be hosted on?', default=app.config.host) - if not config.host.endswith('example.com'): + if not app.config.host.endswith('example.com'): break click.echo('The domain must not be example.com')