Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 1991b9e

Browse files
committed
Fix running the webserver on mac
1 parent e79eeca commit 1991b9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/tests/TestWebServer/HttpServer.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private void Process(HttpListenerContext context)
105105
var filename = context.Request.Url.AbsolutePath;
106106
Logger.Info($"{filename}");
107107
filename = filename.TrimStart('/');
108-
filename = filename.Replace('/', '\\');
108+
filename = filename.Replace('/', Path.DirectorySeparatorChar);
109109
filename = Path.Combine(rootDirectory, filename);
110110

111111
if (!File.Exists(filename))

0 commit comments

Comments
 (0)