Skip to content

Commit 4de6884

Browse files
Renamed PUBLIC_CONVEX_URL to VITE_CONVEX_URL
1 parent b53e986 commit 4de6884

File tree

1 file changed

+3
-3
lines changed
  • docs/guides/development/integrations/databases

1 file changed

+3
-3
lines changed

docs/guides/development/integrations/databases/convex.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,11 @@ With [Convex](https://www.convex.dev/), you can build a backend with a provided
164164
throw new Error('Add your Clerk Publishable Key to the .env file')
165165
}
166166

167-
if (!process.env.PUBLIC_CONVEX_URL) {
168-
throw new Error('Missing PUBLIC_CONVEX_URL in your .env file')
167+
if (!process.env.VITE_CONVEX_URL) {
168+
throw new Error('Missing VITE_CONVEX_URL in your .env file')
169169
}
170170

171-
const convex = new ConvexReactClient(process.env.PUBLIC_CONVEX_URL)
171+
const convex = new ConvexReactClient(process.env.VITE_CONVEX_URL)
172172

173173
ReactDOM.createRoot(document.getElementById('root')!).render(
174174
<React.StrictMode>

0 commit comments

Comments
 (0)