feat: Add signal to socials list
This commit is contained in:
@@ -85,7 +85,7 @@ def wallet(path):
|
||||
resp.set_cookie('HNS', address, max_age=604800)
|
||||
return resp
|
||||
|
||||
if path == ".domains":
|
||||
if path[0] == ".":
|
||||
return send_from_directory('.well-known/wallets', path, mimetype='application/json')
|
||||
elif os.path.isfile('.well-known/wallets/' + path):
|
||||
address = ''
|
||||
@@ -94,6 +94,9 @@ def wallet(path):
|
||||
address = address.strip()
|
||||
return make_response(address, 200, {'Content-Type': 'text/plain'})
|
||||
|
||||
if os.path.isfile('.well-known/wallets/' + path.upper()):
|
||||
return redirect('/.well-known/wallets/' + path.upper(), code=302)
|
||||
|
||||
return render_template('404.html'), 404
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user