Skip to content

Commit

Permalink
add note for hardcoded convex url
Browse files Browse the repository at this point in the history
  • Loading branch information
erquhart committed Nov 26, 2024
1 parent 78d292d commit 7565428
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ import { QueryClient } from '@tanstack/react-query'
export function createRouter() {
const CONVEX_URL =
(import.meta as any).env.VITE_CONVEX_URL ||
// Hardcoded production URL as fallback for local development
// Currently set to an instance owned by Convex Devx
// TODO: Replace with URL to an instance owned by the TanStack team
'https://intent-pigeon-358.convex.cloud'
if (!CONVEX_URL) {
console.error('missing env var VITE_CONVEX_URL')
Expand Down

0 comments on commit 7565428

Please sign in to comment.