Merge branch 'fish-master-patch-76139' into 'master'

fix host check in setup

See merge request pleroma/relay!43
This commit is contained in:
GQ Qin 2022-11-23 03:48:48 +00:00
commit 5ac3a326e7

View file

@ -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')