From e9199d9377bb83fcd3ddebef55e0e63b1fffeec8 Mon Sep 17 00:00:00 2001 From: Nikhil Saraf Date: Tue, 1 Aug 2023 00:14:51 +0530 Subject: [PATCH] change fileUrl to windows url --- packages/vinxi/lib/dev-server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vinxi/lib/dev-server.js b/packages/vinxi/lib/dev-server.js index 0a197987..38e7faa9 100644 --- a/packages/vinxi/lib/dev-server.js +++ b/packages/vinxi/lib/dev-server.js @@ -286,8 +286,8 @@ export async function createDevServer( globalThis.app = app; const plugins = [ - fileURLToPath(new URL("./app-fetch.js", import.meta.url)), - fileURLToPath(new URL("./app-manifest.js", import.meta.url)), + new URL("./app-fetch.js", import.meta.url).href, + new URL("./app-manifest.js", import.meta.url).href, ]; for (const plugin of plugins) {