Skip to content

Commit c02bcc1

Browse files
committed
try none
1 parent b95ad06 commit c02bcc1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

next.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import createMDX from '@next/mdx'
22
/** @type {import('next').NextConfig} */
33
const nextConfig = {
44
output: 'export' as const,
5-
basePath: process.env.NODE_ENV === 'production' ? '/earthnet.tech' : '',
5+
basePath: process.env.NODE_ENV === 'production' ? '' : '',
66
images: {
77
unoptimized: true,
88
},

src/lib/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ export function cn(...inputs: ClassValue[]) {
77

88

99
export const withBasePath = (path: string) => {
10-
const basePath = process.env.NODE_ENV === 'production' ? '/earthnet.tech' : ''
10+
const basePath = process.env.NODE_ENV === 'production' ? '' : ''
1111
return `${ basePath || ''}${path}`;
1212
};

0 commit comments

Comments
 (0)