Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix: update base path and image URL for Open Graph metadata in documentation

Andrejf4ae3c161630
diff --git a/apps/docs/app/docs/[[...slug]]/page.tsx b/apps/docs/app/docs/[[...slug]]/page.tsx
index b8b6f9693..811902e1e 100644
--- a/apps/docs/app/docs/[[...slug]]/page.tsx
+++ b/apps/docs/app/docs/[[...slug]]/page.tsx
@@ -41,11 +41,9 @@ export async function generateMetadata({
const page = source.getPage(slug);
if (!page) notFound();
- const image = [
- "https://usekaneo.github.io/kaneo/docs-og",
- ...slug,
- "image.png",
- ].join("/");
+ const image = ["https://docs.kaneo.app/docs-og", ...slug, "image.png"].join(
+ "/",
+ );
return {
title: `${page.data.title} | Kaneo`,
diff --git a/apps/docs/next.config.mjs b/apps/docs/next.config.mjs
index f1b8876f0..6f8e8288c 100644
--- a/apps/docs/next.config.mjs
+++ b/apps/docs/next.config.mjs
@@ -5,7 +5,6 @@ const withMDX = createMDX();
/** @type {import('next').NextConfig} */
const config = {
reactStrictMode: true,
- basePath: "/kaneo",
output: "export",
images: {
unoptimized: true,