From 4d75eef1a070ce5d5d925af3beb6863760fb9a03 Mon Sep 17 00:00:00 2001 From: Xmader Date: Tue, 4 Jun 2019 21:56:37 -0400 Subject: [PATCH] fix redirections on Windows --- lib/ecstatic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ecstatic.js b/lib/ecstatic.js index 6e415eb..dabb22b 100644 --- a/lib/ecstatic.js +++ b/lib/ecstatic.js @@ -28,7 +28,7 @@ function decodePathname(pathname) { } return piece; - }).join('/')); + }).join('/')).replace(/\\/g, '/'); }