Skip to content

Commit

Permalink
Fix codebase directory navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
aliiyuu authored Aug 13, 2024
1 parent e790a6a commit c763f12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export async function fetchChatGPTResponse(userInput) {
const ec2 = 'https://18.226.98.245:443';
const local = 'http://localhost:3000';
const apiURL = 'https://syntaxsorcerer-backend.fly.dev'
const codebasePath = '../../codebases/main';
const codebasePath = '../../server/codebases/main';

const response = await fetch(`${apiURL}/api/chatgpt`, {
method: 'POST',
Expand All @@ -80,4 +80,4 @@ export async function fetchChatGPTResponse(userInput) {
} else {
appendMessage('Assistant', botMessage.text);
}
}
}

0 comments on commit c763f12

Please sign in to comment.