fix: Typo with old address method
All checks were successful
Build Docker / Build Image (push) Successful in 31s

This commit is contained in:
Nathan Woodburn 2023-12-05 21:54:18 +11:00
parent 797db5e1a9
commit 2e463c626d
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -70,9 +70,9 @@ def wallet(path):
address = getAddress()
# Set cookie
resp = make_response(address.text, 200, {'Content-Type': 'text/plain'})
resp = make_response(address, 200, {'Content-Type': 'text/plain'})
# Cookie should last 1 week
resp.set_cookie('HNS', address.text, max_age=604800)
resp.set_cookie('HNS', address, max_age=604800)
return resp
return send_from_directory('.well-known/wallets', path, mimetype='text/plain')