Skip to content

Commit

Permalink
fix: wrong env name
Browse files Browse the repository at this point in the history
  • Loading branch information
AlmogBaku committed May 10, 2024
1 parent 08047ae commit 9cad809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/APIProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface ModelsContextType {
apiURL?: string;
}

const apiURL = import.meta.env.API_BASE_URL || "/api";
const apiURL = import.meta.env.VITE_API_BASE_URL || "/api";
export const APIContext = createContext<ModelsContextType>({models: [], apiURL: apiURL})

export const APIProvider = ({children}: { children: ReactNode }) => {
Expand Down

0 comments on commit 9cad809

Please sign in to comment.