From 973ee467159bc3755cb7eab5bbeab7e731d2b7ad Mon Sep 17 00:00:00 2001 From: Dan Costello Date: Mon, 2 Jun 2025 10:44:38 -0700 Subject: [PATCH 1/2] Fix slug --- content/docs/guides/(data-storage)/definitions/data-types.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/guides/(data-storage)/definitions/data-types.mdx b/content/docs/guides/(data-storage)/definitions/data-types.mdx index c7b65ea..0b2ff75 100644 --- a/content/docs/guides/(data-storage)/definitions/data-types.mdx +++ b/content/docs/guides/(data-storage)/definitions/data-types.mdx @@ -1,6 +1,6 @@ --- title: "Data types" -slug: "data-types-1" +slug: "data-types" excerpt: "" hidden: false createdAt: "Fri Apr 05 2024 20:14:17 GMT+0000 (Coordinated Universal Time)" From 63a1b13d6a629201b323e0acc935afe754a56fb3 Mon Sep 17 00:00:00 2001 From: Dan Costello Date: Mon, 2 Jun 2025 10:47:59 -0700 Subject: [PATCH 2/2] Update build for pathless subdomain --- next.config.mjs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/next.config.mjs b/next.config.mjs index fb151e3..0828b17 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,19 +1,11 @@ import { createMDX } from "fumadocs-mdx/next"; const withMDX = createMDX(); -const isGithubActions = process.env.GITHUB_ACTIONS || false; const isProduction = process.env.NODE_ENV === "production"; let assetPrefix = isProduction ? "./" : ""; let basePath = ""; -if (isGithubActions) { - const repo = process.env.GITHUB_REPOSITORY.replace(/.*?\//, ""); - - assetPrefix = `/${repo}/`; - basePath = `/${repo}`; -} - /** @type {import('next').NextConfig} */ const config = { reactStrictMode: true,