We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca3551d commit 3d8ed76Copy full SHA for 3d8ed76
client/src/components/CodeEditor/CodeEditor.jsx
@@ -237,7 +237,7 @@ export default function CodeEditor({ defaultLanguage }) {
237
function handleGenerate() {
238
let content = sanitizeInput(code);
239
240
- const url = "http://127.0.0.1:5000/openai";
+ const url = "http://localhost:5000/openai";
241
const payload = {
242
language: language,
243
content: content,
client/src/components/PromptInput/PromptInput.jsx
@@ -32,7 +32,7 @@ export default function PromptInput() {
32
formData.append("file", file);
33
34
// Perform the upload using fetch
35
- fetch("http://127.0.0.1:5000/image-to-expression", {
+ fetch("http://localhost:5000/image-to-expression", {
36
method: "POST",
37
body: formData,
38
})
0 commit comments