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 bdc4b28 commit 48793c5Copy full SHA for 48793c5
apps/docs/components/geistdocs/docs-page.tsx
@@ -48,7 +48,7 @@ export const DocsPage = async ({ slug }: PageProps) => {
48
editOnGithubUrl = `https://github.com/${owner}/${repo}/edit/main/apps/docs/content/docs/${path}`;
49
}
50
51
- const protocol = process.env.VERCEL_URL ? "https" : "http";
+ const protocol = process.env.NODE_ENV === "production" ? "https" : "http";
52
const url = new URL(
53
page.url,
54
`${protocol}://${process.env.BASE_URL}`
0 commit comments