mirror of
https://github.com/Such-Software/smirk-website.git
synced 2026-10-17 05:51:28 +02:00
18 lines
409 B
TypeScript
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;
|