fix: add trailing slash to compile endpoint to avoid HTTP redirect

pull/10/head
root 2026-03-07 18:18:19 +01:00
parent 5b59ebdc30
commit 60e737c2d4
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ export async function compileCode(
console.log('Files:', files.map((f) => f.name));
const response = await axios.post<CompileResult>(
`${API_BASE}/compile`,
`${API_BASE}/compile/`,
{ files, board_fqbn: board },
{ withCredentials: true }
);