fix: add trailing slash to compile endpoint to avoid HTTP redirect
parent
5b59ebdc30
commit
60e737c2d4
|
|
@ -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 }
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue