We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50811e7 commit 1ee6f7eCopy full SHA for 1ee6f7e
docs/next.config.mjs
@@ -2,10 +2,14 @@ import { createMDX } from 'fumadocs-mdx/next';
2
3
const withMDX = createMDX();
4
5
+const isGitHubPages = process.env.GITHUB_ACTIONS === 'true';
6
+
7
/** @type {import('next').NextConfig} */
8
const config = {
9
reactStrictMode: true,
10
output: 'export',
11
+ basePath: isGitHubPages ? '/react-native-quick-crypto' : '',
12
+ assetPrefix: isGitHubPages ? '/react-native-quick-crypto/' : '',
13
};
14
15
export default withMDX(config);
0 commit comments