mirror of
https://github.com/Such-Software/wowcheckout.git
synced 2026-10-17 05:51:45 +02:00
Minimal changes from upstream xmrcheckout to support Wownero: - Rate provider: Nonlogs WOW-BTC via Kraken BTC/USD - Subaddress derivation: Wownero network byte overrides (53/63/54) - Payment URI scheme: wownero: - Dockerfile: Wownero binaries from Codeberg - Display text: Monero→Wownero, XMR→WOW throughout UI - Default daemon: 192.168.88.235:34568 - Added wownero-logo.svg File and folder structure kept identical to upstream for easy sync.
19 lines
471 B
TypeScript
19 lines
471 B
TypeScript
import type { MetadataRoute } from "next";
|
|
|
|
const siteUrl =
|
|
process.env.NEXT_PUBLIC_SITE_URL ??
|
|
process.env.SITE_URL ??
|
|
"http://localhost";
|
|
const normalizedSiteUrl = siteUrl.replace(/\/+$/, "");
|
|
|
|
export default function robots(): MetadataRoute.Robots {
|
|
return {
|
|
rules: {
|
|
userAgent: "*",
|
|
allow: "/",
|
|
disallow: ["/dashboard", "/login", "/api", "/_next", "/invoice/", "/donate/"],
|
|
},
|
|
sitemap: `${normalizedSiteUrl}/sitemap.xml`,
|
|
};
|
|
}
|