Skip to content

Commit 1a4fb09

Browse files
committed
fix build
1 parent 43adf79 commit 1a4fb09

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

app/changelog/header.tsx

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
import getConfig from 'next/config';
2-
3-
const {publicRuntimeConfig} = getConfig();
4-
51
export default function Header({loading}) {
62
return (
73
<div className="w-full mx-auto h-96 relative bg-darkPurple">
84
<div className="relative w-full lg:max-w-7xl mx-auto px-4 lg:px-8 pt-8 grid grid-cols-12 items-center">
95
<img
106
className={`justify-self-center col-span-10 z-20 hidden lg:block ${loading ? 'animate-fade-in-left' : ''}`}
11-
src={`${publicRuntimeConfig.assetPrefix ?? ''}/changelog/assets/hero.png`}
7+
src="https://docs.sentry.io/changelog/assets/hero.png"
128
alt="Sentry Changelog"
139
height={273}
1410
width={450}

next.config.js

-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ const nextConfig = {
1313
},
1414
];
1515
},
16-
publicRuntimeConfig: {
17-
assetPrefix: isProd ? 'https://docs.sentry.io' : undefined,
18-
},
1916
assetPrefix: isProd ? 'https://docs.sentry.io' : undefined,
2017

2118
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],

0 commit comments

Comments
 (0)