feat(feed): route feed.smirk.cash subdomain root to /feed

This commit is contained in:
jwinterm
2026-07-03 17:07:35 -04:00
parent c6ca19dd25
commit 5ac1ff01cb
+11 -1
View File
@@ -1,7 +1,17 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
// Serve the Nostr feed at the feed.smirk.cash subdomain root (one app, two
// hosts). smirk.cash/feed keeps working directly.
async rewrites() {
return [
{
source: "/",
has: [{ type: "host", value: "feed.smirk.cash" }],
destination: "/feed",
},
];
},
};
export default nextConfig;