Skip to content

Commit 3b69fbe

Browse files
author
Dan Costello
authored
Update build paths for docs.userclouds.com (#5)
* Fix slug * Update build for pathless subdomain
1 parent 249538b commit 3b69fbe

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

content/docs/guides/(data-storage)/definitions/data-types.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Data types"
3-
slug: "data-types-1"
3+
slug: "data-types"
44
excerpt: ""
55
hidden: false
66
createdAt: "Fri Apr 05 2024 20:14:17 GMT+0000 (Coordinated Universal Time)"

next.config.mjs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
import { createMDX } from "fumadocs-mdx/next";
22
const withMDX = createMDX();
33

4-
const isGithubActions = process.env.GITHUB_ACTIONS || false;
54
const isProduction = process.env.NODE_ENV === "production";
65

76
let assetPrefix = isProduction ? "./" : "";
87
let basePath = "";
98

10-
if (isGithubActions) {
11-
const repo = process.env.GITHUB_REPOSITORY.replace(/.*?\//, "");
12-
13-
assetPrefix = `/${repo}/`;
14-
basePath = `/${repo}`;
15-
}
16-
179
/** @type {import('next').NextConfig} */
1810
const config = {
1911
reactStrictMode: true,

0 commit comments

Comments
 (0)