diff --git a/app/api/well-known/nostr/[name]/route.ts b/app/api/well-known/nostr/route.ts similarity index 100% rename from app/api/well-known/nostr/[name]/route.ts rename to app/api/well-known/nostr/route.ts diff --git a/next.config.js b/next.config.js index 93ba40f..d9e9f2a 100644 --- a/next.config.js +++ b/next.config.js @@ -4,7 +4,7 @@ const nextConfig = { return [ { source: "/.well-known/nostr.json", - destination: "/api/well-known", + destination: "/api/well-known/nostr", }, ]; },