mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
[bugfix] do not encode url query params
This commit is contained in:
+3
-2
@@ -8,8 +8,9 @@ export function resolveHtmlPath (htmlFileName: string) {
|
||||
const url = new URL(`http://localhost:${port}/${htmlFileName}`);
|
||||
return url.toString();
|
||||
}
|
||||
const filePath = path.resolve(__dirname, "..", "renderer", htmlFileName);
|
||||
return pathToFileURL(filePath).toString();
|
||||
|
||||
const filePath = path.resolve(__dirname, "..", "renderer");
|
||||
return pathToFileURL(filePath).toString().concat("/", htmlFileName);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user