electron app: send filename in query filename= param, instead of as part of url path, more robust and should work on windows

This commit is contained in:
Ilya Kreymer
2020-06-09 18:58:17 -07:00
parent 1f226fe91a
commit 335c2bfd35
4 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin');
// fake url used in app to serve files
// can not use custom scheme due to service worker issues
const APP_FILE_SERVE_PREFIX = "http://files.replayweb.page";
const APP_FILE_SERVE_PREFIX = "http://files.replayweb.page/";
//const APP_FILE_SERVE_PREFIX = "file://files.replayweb.page";