What is Nostr?
npub10y0…37l2
2023-04-03 14:54:39
in reply to nevent1q…hk7p

npub10y…337l2 on Nostr: #[0] Definitely the quickest and surest way to implement. Intercepting the requests ...

npub1ln5q8np5aezhtt7ztv6tah86xk4t3smjuchdvxp0u6uta056204q45xyw6 (npub1ln5…xyw6)

Definitely the quickest and surest way to implement. Intercepting the requests and letting the webserver respond without touching the app tickles me.

(I figured you weren't using Apache, which was what first sprang to mind, and the rewrite module people have to fight with if, say, their WordPress installation isn't bog-standard.)

However, implementing it as some node.js middleware would have the advantage that anyone cloning the repo would get that robots.txt support automatically.
Author Public Key
npub10y0va3sv3nf07az7l049kde096jpvvw6l3dge64s4zrq498eg9usg337l2