Files
smirk-website/next.config.ts
T

18 lines
409 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// 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;