diff --git a/frontend/src/services/api.js b/frontend/src/services/api.js index 3febe66..74eeaab 100644 --- a/frontend/src/services/api.js +++ b/frontend/src/services/api.js @@ -27,7 +27,7 @@ export const fetchFileContent = async (filePath) => { }; export const saveFileContent = async (filePath, content) => { - const response = await fetch(`/api/v1/files/${filePath}`, { + const response = await fetch(`${API_BASE_URL}/files/${filePath}`, { method: 'POST', headers: { 'Content-Type': 'text/plain',