This commit is contained in:
parent
230042cc7b
commit
b93515ff32
12
.well-known/xrp-ledger.toml
Normal file
12
.well-known/xrp-ledger.toml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
[METADATA]
|
||||||
|
modified = 2024-07-02T00:00:00.000Z
|
||||||
|
expires = 2050-07-02T00:00:00.000Z
|
||||||
|
|
||||||
|
[[ACCOUNTS]]
|
||||||
|
address = "rKzdnYvwDyeki5VCgMwjuofjBjAbg3DJnB"
|
||||||
|
desc = "Nathan.Woodburn/ (Twitter: @nathanwoodburn)"
|
||||||
|
|
||||||
|
[[PRINCIPALS]]
|
||||||
|
name = "Nathan Woodburn"
|
||||||
|
email = "xrp@nathan.woodburn.au"
|
||||||
|
social_1 = "https://nathan.woodburn.au"
|
12
server.py
12
server.py
@ -137,6 +137,18 @@ def nostr():
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@app.route('/.well-known/xrp-ledger.toml')
|
||||||
|
def xrpLedger():
|
||||||
|
# Create a response with the xrp-ledger.toml file
|
||||||
|
with open('.well-known/xrp-ledger.toml') as file:
|
||||||
|
toml = file.read()
|
||||||
|
|
||||||
|
response = make_response(toml, 200, {'Content-Type': 'application/toml'})
|
||||||
|
# Set cors headers
|
||||||
|
response.headers['Access-Control-Allow-Origin'] = '*'
|
||||||
|
return response
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@app.route('/manifest.json')
|
@app.route('/manifest.json')
|
||||||
def manifest():
|
def manifest():
|
||||||
|
Loading…
Reference in New Issue
Block a user