Skip to content

Commit 4740019

Browse files
committed
Fix url
1 parent f08cb70 commit 4740019

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

apps/landing/src/app/layout.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import type { Metadata } from 'next'
66

77
import { Footer } from '../components/Footer'
88
import { Header } from '../components/Header'
9+
import { URL_PREFIX } from '../constants'
910

1011
export const metadata: Metadata = {
1112
title: 'Devup UI',
@@ -22,9 +23,7 @@ export default function RootLayout({
2223
<head>
2324
<ThemeScript auto />
2425
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
25-
<base
26-
href={process.env.NODE_ENV === 'production' ? '/devup-ui' : '/'}
27-
/>
26+
<base href={URL_PREFIX} />
2827
</head>
2928
<body
3029
className={css({

0 commit comments

Comments
 (0)