Skip to content

Commit c4524e5

Browse files
codetalker-aigeorgesittasbenfdking
authored
Minor fix for Windows web UI interface (#4752)
Co-authored-by: Jo <46752250+georgesittas@users.noreply.github.com> Co-authored-by: Ben <9087625+benfdking@users.noreply.github.com>
1 parent 17fb177 commit c4524e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎web/server/api/endpoints/files.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,6 @@ def _get_file_with_content(file_path: Path, relative_path: str) -> models.File:
181181

182182
return models.File(
183183
name=file_path.name,
184-
path=relative_path,
184+
path=str(Path(relative_path).as_posix()),
185185
content=content,
186186
)

0 commit comments

Comments
 (0)