diff --git a/cmdeploy/src/cmdeploy/genqr.py b/cmdeploy/src/cmdeploy/genqr.py index 35c3a973..e6127b8d 100644 --- a/cmdeploy/src/cmdeploy/genqr.py +++ b/cmdeploy/src/cmdeploy/genqr.py @@ -7,7 +7,7 @@ from PIL import Image, ImageDraw, ImageFont def gen_qr_png_data(maildomain): - url = f"DCACCOUNT:https://{maildomain}/new" + url = f"DCACCOUNT:{maildomain}" image = gen_qr(maildomain, url) temp = io.BytesIO() image.save(temp, format="png") diff --git a/cmdeploy/src/cmdeploy/tests/online/test_0_qr.py b/cmdeploy/src/cmdeploy/tests/online/test_0_qr.py index b916e696..d3eff3ae 100644 --- a/cmdeploy/src/cmdeploy/tests/online/test_0_qr.py +++ b/cmdeploy/src/cmdeploy/tests/online/test_0_qr.py @@ -22,7 +22,7 @@ def test_fastcgi_working(maildomain, chatmail_config): @pytest.mark.filterwarnings("ignore::urllib3.exceptions.InsecureRequestWarning") def test_newemail_configure(maildomain, rpc, chatmail_config): """Test configuring accounts by scanning a QR code works.""" - url = f"DCACCOUNT:https://{maildomain}/new" + url = f"DCACCOUNT:{maildomain}" for i in range(3): account_id = rpc.add_account() if chatmail_config.tls_cert_mode == "self": diff --git a/www/src/index.md b/www/src/index.md index cc8325fd..2dde7d8d 100644 --- a/www/src/index.md +++ b/www/src/index.md @@ -23,13 +23,13 @@ you can also **scan this QR code** with Delta Chat: {% else %} -Get a {{config.mail_domain}} chat profile +Get a {{config.mail_domain}} chat profile If you are viewing this page on a different device without a Delta Chat app, you can also **scan this QR code** with Delta Chat: - + {% endif %}