mirror of
https://github.com/chatmail/relay.git
synced 2026-05-16 17:38:58 +00:00
Nicer /new URL for new accounts and redirect GET requests
If user types in https://nine.testrun.org/new manually in the browser, at least Firefox and Brave suggest to open the app after following the redirect.
This commit is contained in:
@@ -6,7 +6,7 @@ import io
|
||||
|
||||
|
||||
def gen_qr_png_data(maildomain):
|
||||
url = f"DCACCOUNT:https://{maildomain}/cgi-bin/newemail.py"
|
||||
url = f"DCACCOUNT:https://{maildomain}/new"
|
||||
image = gen_qr(maildomain, url)
|
||||
temp = io.BytesIO()
|
||||
image.save(temp, format="png")
|
||||
|
||||
Reference in New Issue
Block a user