website: add Cloudflare static-assets config, point URLs at workers.dev
Browse files- wrangler.jsonc serves ./out as static assets (skips OpenNext SSR adapter
that fails on Next 14)
- SITE_URL / robots / sitemap now point at cachy.vatxzz.workers.dev
- website/app/layout.tsx +1 -1
- website/app/robots.ts +1 -1
- website/app/sitemap.ts +1 -1
website/app/layout.tsx
CHANGED
|
@@ -22,7 +22,7 @@ const plexMono = IBM_Plex_Mono({
|
|
| 22 |
display: "swap",
|
| 23 |
});
|
| 24 |
|
| 25 |
-
const SITE_URL = "https://cachy.
|
| 26 |
const DESCRIPTION =
|
| 27 |
"Cachy turns the reels, videos, articles, and PDFs you send into knowledge you can search, connect, and actually remember. Send it. Forget about it.";
|
| 28 |
|
|
|
|
| 22 |
display: "swap",
|
| 23 |
});
|
| 24 |
|
| 25 |
+
const SITE_URL = "https://cachy.vatxzz.workers.dev";
|
| 26 |
const DESCRIPTION =
|
| 27 |
"Cachy turns the reels, videos, articles, and PDFs you send into knowledge you can search, connect, and actually remember. Send it. Forget about it.";
|
| 28 |
|
website/app/robots.ts
CHANGED
|
@@ -4,6 +4,6 @@ import type { MetadataRoute } from "next";
|
|
| 4 |
export default function robots(): MetadataRoute.Robots {
|
| 5 |
return {
|
| 6 |
rules: { userAgent: "*", allow: "/" },
|
| 7 |
-
sitemap: "https://cachy.
|
| 8 |
};
|
| 9 |
}
|
|
|
|
| 4 |
export default function robots(): MetadataRoute.Robots {
|
| 5 |
return {
|
| 6 |
rules: { userAgent: "*", allow: "/" },
|
| 7 |
+
sitemap: "https://cachy.vatxzz.workers.dev/sitemap.xml",
|
| 8 |
};
|
| 9 |
}
|
website/app/sitemap.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { MetadataRoute } from "next";
|
|
| 4 |
export default function sitemap(): MetadataRoute.Sitemap {
|
| 5 |
return [
|
| 6 |
{
|
| 7 |
-
url: "https://cachy.
|
| 8 |
lastModified: new Date(),
|
| 9 |
changeFrequency: "monthly",
|
| 10 |
priority: 1,
|
|
|
|
| 4 |
export default function sitemap(): MetadataRoute.Sitemap {
|
| 5 |
return [
|
| 6 |
{
|
| 7 |
+
url: "https://cachy.vatxzz.workers.dev",
|
| 8 |
lastModified: new Date(),
|
| 9 |
changeFrequency: "monthly",
|
| 10 |
priority: 1,
|