mirror of
https://github.com/Such-Software/such.software.git
synced 2026-12-01 11:53:56 +01:00
Each game's privacy policy now lives on its own marketing site and states what the game stores today. The old pages predated sign-in, server purchase validation and current analytics, so they redirect permanently to moonlaunch.space/privacy/ and bauhausecho.com/privacy/, and product and Terms links point there directly.
34 lines
1.1 KiB
JavaScript
34 lines
1.1 KiB
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
transpilePackages: ["@repo/ui"],
|
|
// Inline the CSS into the HTML so the render-blocking stylesheet request leaves the
|
|
// critical path. That request was the LCP gate on throttled mobile: the logo (a data
|
|
// URI, ready instantly) couldn't paint until the separate CSS round-trip finished,
|
|
// and that round-trip varied run-to-run (TTFB 0, render delay ~2.3s). Inlined CSS
|
|
// arrives with the HTML, so the logo paints right away.
|
|
experimental: {
|
|
inlineCss: true,
|
|
},
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: "/links",
|
|
destination: "/apps",
|
|
permanent: true,
|
|
},
|
|
// Each game's privacy policy lives on its own site now.
|
|
{
|
|
source: "/products/such-moon-launch/privacy",
|
|
destination: "https://moonlaunch.space/privacy/",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/products/bauhaus-echo/privacy",
|
|
destination: "https://bauhausecho.com/privacy/",
|
|
permanent: true,
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig; |