Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vbarda committed Aug 15, 2024
1 parent 17a0b51 commit 606db0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-cloud-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
API_BASE_URL: ${{ secrets.API_BASE_URL }}
LANGCHAIN_API_KEY: ${{ secrets.LANGCHAIN_API_KEY }}
NEXT_PUBLIC_API_URL: ${{ secrets.NEXT_PUBLIC_API_URL }}
steps:
- uses: actions/checkout@v2
- name: Install Vercel CLI
Expand Down
4 changes: 2 additions & 2 deletions frontend/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { Client } from "@langchain/langgraph-sdk";
import { ChatWindow } from "./components/ChatWindow";
import { LangGraphClientContext } from "./hooks/useLangGraphClient";

const apiUrl = process.env.NEXT_PUBLIC_VERCEL_URL
? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}/api/`
const apiUrl = process.env.NEXT_PUBLIC_API_URL
? process.env.NEXT_PUBLIC_API_URL
: "http://localhost:3000/api/";

export default function Home() {
Expand Down

0 comments on commit 606db0b

Please sign in to comment.