cant zap you. your LNURL endpoint doesn't have CORS enabled so it cant be loaded from the browser 😞
Discussion
Coracle uses a proxy to do this, feel free to add to nostrudel if it would make your life easier
I have a option in noStrudel to use a "request proxy" and I've been using this https://github.com/Rob--W/cors-anywhere
But its not setup by default for the deployed version of noStrudel because I don't want to pay to run a server
it would probably be maybe $3/month to run just this one specific service, hardly even needs any disk space
I haven't setup one now mostly on principal. Its pretty easy to setup a CORS proxy, but then there is a temptation to setup other services and I don't like the idea that if I where to shut it down later or go away that my client would stop working
Instead I'm better off finding ways for people to host it themselves on umbrel/start9
in the meantime i think that it's important to make a loud notice of this in NIP-05 that cors wildcard header needs to be set so as to not disadvantage web app users with strict CORS policy
AFAIK there is already such warning in the nip05 spec.
indeed it is
nostr:npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr perhaps you should make a note on the failed CORS error display that is just a questionmark in orange and a tooltip which says "it cannot be determined whether the NIP-5 exists or if it is not sending a correct HTTP CORS header, beware"
Thanks for letting me know, I thought I fixed in the past with 1 line of nginx. Is there a good way to test and validate CORS? (I'm not a webdev)
I always use this tool https://cors-test.codehappy.dev/
According to it, it should be enabled:
Working 👍