Browse Source

fix: NIP-05 CORS error

NIP-05 validation requests to the domian were
rejected due to CORS
master
DanConwayDev 2 years ago
parent
commit
278dad6280
No known key found for this signature in database
GPG Key ID: 68E15486D73F75E1
  1. 6
      netlify.toml

6
netlify.toml

@ -1,3 +1,7 @@
[build] [build]
command = "yarn run build" command = "yarn run build"
publish = "build" publish = "build"
[[headers]]
for = "/.well-known/nostr.json"
[headers.values]
Access-Control-Allow-Origin = "*"
Loading…
Cancel
Save