Skip to content

Commit 5eec591

Browse files
bug fix for ECONNREFUSED in front end docker
1 parent 98d7b63 commit 5eec591

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/api/all-files/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export async function GET(request: Request) {
9090
// Get in-memory files from the backend
9191
let memoryFiles = []
9292
try {
93-
const memoryResponse = await fetch('http://localhost:24125/api/memory-files')
93+
const memoryResponse = await fetch('http://backend:24125/api/memory-files')
9494
if (memoryResponse.ok) {
9595
const memoryData = await memoryResponse.json()
9696
if (memoryData.success && Array.isArray(memoryData.files)) {

0 commit comments

Comments
 (0)