Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
gh-actions committed Feb 2, 2021
0 parents commit 93eccd9
Show file tree
Hide file tree
Showing 193 changed files with 754 additions and 0 deletions.
190 changes: 190 additions & 0 deletions asset-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
{
"files": {
"static/js/0.9ad69d9e.chunk.js": "/scrappy/static/js/0.9ad69d9e.chunk.js",
"static/js/0.9ad69d9e.chunk.js.map": "/scrappy/static/js/0.9ad69d9e.chunk.js.map",
"static/js/1.d53e15c9.chunk.js": "/scrappy/static/js/1.d53e15c9.chunk.js",
"static/js/1.d53e15c9.chunk.js.map": "/scrappy/static/js/1.d53e15c9.chunk.js.map",
"main.css": "/scrappy/static/css/main.4af68554.chunk.css",
"main.js": "/scrappy/static/js/main.dacf6c8a.chunk.js",
"main.js.map": "/scrappy/static/js/main.dacf6c8a.chunk.js.map",
"runtime-main.js": "/scrappy/static/js/runtime-main.c7c53ea4.js",
"runtime-main.js.map": "/scrappy/static/js/runtime-main.c7c53ea4.js.map",
"static/css/4.3f6ef5e2.chunk.css": "/scrappy/static/css/4.3f6ef5e2.chunk.css",
"static/js/4.6e5e6250.chunk.js": "/scrappy/static/js/4.6e5e6250.chunk.js",
"static/js/4.6e5e6250.chunk.js.map": "/scrappy/static/js/4.6e5e6250.chunk.js.map",
"static/js/5.bab560fd.chunk.js": "/scrappy/static/js/5.bab560fd.chunk.js",
"static/js/5.bab560fd.chunk.js.map": "/scrappy/static/js/5.bab560fd.chunk.js.map",
"static/js/6.48e00274.chunk.js": "/scrappy/static/js/6.48e00274.chunk.js",
"static/js/6.48e00274.chunk.js.map": "/scrappy/static/js/6.48e00274.chunk.js.map",
"static/js/7.b4dfde96.chunk.js": "/scrappy/static/js/7.b4dfde96.chunk.js",
"static/js/7.b4dfde96.chunk.js.map": "/scrappy/static/js/7.b4dfde96.chunk.js.map",
"static/js/8.3d02c900.chunk.js": "/scrappy/static/js/8.3d02c900.chunk.js",
"static/js/8.3d02c900.chunk.js.map": "/scrappy/static/js/8.3d02c900.chunk.js.map",
"static/js/9.596619ff.chunk.js": "/scrappy/static/js/9.596619ff.chunk.js",
"static/js/9.596619ff.chunk.js.map": "/scrappy/static/js/9.596619ff.chunk.js.map",
"static/js/10.dac98fbe.chunk.js": "/scrappy/static/js/10.dac98fbe.chunk.js",
"static/js/10.dac98fbe.chunk.js.map": "/scrappy/static/js/10.dac98fbe.chunk.js.map",
"static/js/11.5485a3de.chunk.js": "/scrappy/static/js/11.5485a3de.chunk.js",
"static/js/11.5485a3de.chunk.js.map": "/scrappy/static/js/11.5485a3de.chunk.js.map",
"static/js/12.b17bb02e.chunk.js": "/scrappy/static/js/12.b17bb02e.chunk.js",
"static/js/12.b17bb02e.chunk.js.map": "/scrappy/static/js/12.b17bb02e.chunk.js.map",
"static/js/13.8f335917.chunk.js": "/scrappy/static/js/13.8f335917.chunk.js",
"static/js/13.8f335917.chunk.js.map": "/scrappy/static/js/13.8f335917.chunk.js.map",
"static/js/14.f65b6d5f.chunk.js": "/scrappy/static/js/14.f65b6d5f.chunk.js",
"static/js/14.f65b6d5f.chunk.js.map": "/scrappy/static/js/14.f65b6d5f.chunk.js.map",
"static/js/15.07f52a8c.chunk.js": "/scrappy/static/js/15.07f52a8c.chunk.js",
"static/js/15.07f52a8c.chunk.js.map": "/scrappy/static/js/15.07f52a8c.chunk.js.map",
"static/js/16.0531ed0d.chunk.js": "/scrappy/static/js/16.0531ed0d.chunk.js",
"static/js/16.0531ed0d.chunk.js.map": "/scrappy/static/js/16.0531ed0d.chunk.js.map",
"static/js/17.8ca41df5.chunk.js": "/scrappy/static/js/17.8ca41df5.chunk.js",
"static/js/17.8ca41df5.chunk.js.map": "/scrappy/static/js/17.8ca41df5.chunk.js.map",
"static/js/18.59b01b59.chunk.js": "/scrappy/static/js/18.59b01b59.chunk.js",
"static/js/18.59b01b59.chunk.js.map": "/scrappy/static/js/18.59b01b59.chunk.js.map",
"static/js/19.38fd5aa7.chunk.js": "/scrappy/static/js/19.38fd5aa7.chunk.js",
"static/js/19.38fd5aa7.chunk.js.map": "/scrappy/static/js/19.38fd5aa7.chunk.js.map",
"static/js/20.8b495cde.chunk.js": "/scrappy/static/js/20.8b495cde.chunk.js",
"static/js/20.8b495cde.chunk.js.map": "/scrappy/static/js/20.8b495cde.chunk.js.map",
"static/js/21.94ec8d40.chunk.js": "/scrappy/static/js/21.94ec8d40.chunk.js",
"static/js/21.94ec8d40.chunk.js.map": "/scrappy/static/js/21.94ec8d40.chunk.js.map",
"static/js/22.6cefa915.chunk.js": "/scrappy/static/js/22.6cefa915.chunk.js",
"static/js/22.6cefa915.chunk.js.map": "/scrappy/static/js/22.6cefa915.chunk.js.map",
"static/js/23.0583f904.chunk.js": "/scrappy/static/js/23.0583f904.chunk.js",
"static/js/23.0583f904.chunk.js.map": "/scrappy/static/js/23.0583f904.chunk.js.map",
"static/js/24.5d91f835.chunk.js": "/scrappy/static/js/24.5d91f835.chunk.js",
"static/js/24.5d91f835.chunk.js.map": "/scrappy/static/js/24.5d91f835.chunk.js.map",
"static/js/25.5fefecb2.chunk.js": "/scrappy/static/js/25.5fefecb2.chunk.js",
"static/js/25.5fefecb2.chunk.js.map": "/scrappy/static/js/25.5fefecb2.chunk.js.map",
"static/js/26.5949129d.chunk.js": "/scrappy/static/js/26.5949129d.chunk.js",
"static/js/26.5949129d.chunk.js.map": "/scrappy/static/js/26.5949129d.chunk.js.map",
"static/js/27.07eb3e1c.chunk.js": "/scrappy/static/js/27.07eb3e1c.chunk.js",
"static/js/27.07eb3e1c.chunk.js.map": "/scrappy/static/js/27.07eb3e1c.chunk.js.map",
"static/js/28.19bbf24b.chunk.js": "/scrappy/static/js/28.19bbf24b.chunk.js",
"static/js/28.19bbf24b.chunk.js.map": "/scrappy/static/js/28.19bbf24b.chunk.js.map",
"static/js/29.6da3e784.chunk.js": "/scrappy/static/js/29.6da3e784.chunk.js",
"static/js/29.6da3e784.chunk.js.map": "/scrappy/static/js/29.6da3e784.chunk.js.map",
"static/js/30.d0585148.chunk.js": "/scrappy/static/js/30.d0585148.chunk.js",
"static/js/30.d0585148.chunk.js.map": "/scrappy/static/js/30.d0585148.chunk.js.map",
"static/js/31.dcdded69.chunk.js": "/scrappy/static/js/31.dcdded69.chunk.js",
"static/js/31.dcdded69.chunk.js.map": "/scrappy/static/js/31.dcdded69.chunk.js.map",
"static/js/32.ab0ab6a0.chunk.js": "/scrappy/static/js/32.ab0ab6a0.chunk.js",
"static/js/32.ab0ab6a0.chunk.js.map": "/scrappy/static/js/32.ab0ab6a0.chunk.js.map",
"static/js/33.6a575030.chunk.js": "/scrappy/static/js/33.6a575030.chunk.js",
"static/js/33.6a575030.chunk.js.map": "/scrappy/static/js/33.6a575030.chunk.js.map",
"static/js/34.4da3f2a9.chunk.js": "/scrappy/static/js/34.4da3f2a9.chunk.js",
"static/js/34.4da3f2a9.chunk.js.map": "/scrappy/static/js/34.4da3f2a9.chunk.js.map",
"static/js/35.dc31b20a.chunk.js": "/scrappy/static/js/35.dc31b20a.chunk.js",
"static/js/35.dc31b20a.chunk.js.map": "/scrappy/static/js/35.dc31b20a.chunk.js.map",
"static/js/36.ca8148fc.chunk.js": "/scrappy/static/js/36.ca8148fc.chunk.js",
"static/js/36.ca8148fc.chunk.js.map": "/scrappy/static/js/36.ca8148fc.chunk.js.map",
"static/js/37.72f3b348.chunk.js": "/scrappy/static/js/37.72f3b348.chunk.js",
"static/js/37.72f3b348.chunk.js.map": "/scrappy/static/js/37.72f3b348.chunk.js.map",
"static/js/38.858eb5ed.chunk.js": "/scrappy/static/js/38.858eb5ed.chunk.js",
"static/js/38.858eb5ed.chunk.js.map": "/scrappy/static/js/38.858eb5ed.chunk.js.map",
"static/js/39.f3107a0e.chunk.js": "/scrappy/static/js/39.f3107a0e.chunk.js",
"static/js/39.f3107a0e.chunk.js.map": "/scrappy/static/js/39.f3107a0e.chunk.js.map",
"static/js/40.5b81c556.chunk.js": "/scrappy/static/js/40.5b81c556.chunk.js",
"static/js/40.5b81c556.chunk.js.map": "/scrappy/static/js/40.5b81c556.chunk.js.map",
"static/js/41.163f60f6.chunk.js": "/scrappy/static/js/41.163f60f6.chunk.js",
"static/js/41.163f60f6.chunk.js.map": "/scrappy/static/js/41.163f60f6.chunk.js.map",
"static/js/42.68b0c0b3.chunk.js": "/scrappy/static/js/42.68b0c0b3.chunk.js",
"static/js/42.68b0c0b3.chunk.js.map": "/scrappy/static/js/42.68b0c0b3.chunk.js.map",
"static/js/43.e3744957.chunk.js": "/scrappy/static/js/43.e3744957.chunk.js",
"static/js/43.e3744957.chunk.js.map": "/scrappy/static/js/43.e3744957.chunk.js.map",
"static/js/44.6640ebb9.chunk.js": "/scrappy/static/js/44.6640ebb9.chunk.js",
"static/js/44.6640ebb9.chunk.js.map": "/scrappy/static/js/44.6640ebb9.chunk.js.map",
"static/js/45.a99741eb.chunk.js": "/scrappy/static/js/45.a99741eb.chunk.js",
"static/js/45.a99741eb.chunk.js.map": "/scrappy/static/js/45.a99741eb.chunk.js.map",
"static/js/46.c5a6bb90.chunk.js": "/scrappy/static/js/46.c5a6bb90.chunk.js",
"static/js/46.c5a6bb90.chunk.js.map": "/scrappy/static/js/46.c5a6bb90.chunk.js.map",
"static/js/47.ef30f03f.chunk.js": "/scrappy/static/js/47.ef30f03f.chunk.js",
"static/js/47.ef30f03f.chunk.js.map": "/scrappy/static/js/47.ef30f03f.chunk.js.map",
"static/js/48.3ad5f129.chunk.js": "/scrappy/static/js/48.3ad5f129.chunk.js",
"static/js/48.3ad5f129.chunk.js.map": "/scrappy/static/js/48.3ad5f129.chunk.js.map",
"static/js/49.8bcbea14.chunk.js": "/scrappy/static/js/49.8bcbea14.chunk.js",
"static/js/49.8bcbea14.chunk.js.map": "/scrappy/static/js/49.8bcbea14.chunk.js.map",
"static/js/50.2c816a9e.chunk.js": "/scrappy/static/js/50.2c816a9e.chunk.js",
"static/js/50.2c816a9e.chunk.js.map": "/scrappy/static/js/50.2c816a9e.chunk.js.map",
"static/js/51.6b558845.chunk.js": "/scrappy/static/js/51.6b558845.chunk.js",
"static/js/51.6b558845.chunk.js.map": "/scrappy/static/js/51.6b558845.chunk.js.map",
"static/js/52.03540d1a.chunk.js": "/scrappy/static/js/52.03540d1a.chunk.js",
"static/js/52.03540d1a.chunk.js.map": "/scrappy/static/js/52.03540d1a.chunk.js.map",
"static/js/53.377cbdd2.chunk.js": "/scrappy/static/js/53.377cbdd2.chunk.js",
"static/js/53.377cbdd2.chunk.js.map": "/scrappy/static/js/53.377cbdd2.chunk.js.map",
"static/js/54.c12bb270.chunk.js": "/scrappy/static/js/54.c12bb270.chunk.js",
"static/js/54.c12bb270.chunk.js.map": "/scrappy/static/js/54.c12bb270.chunk.js.map",
"static/js/55.ee1e10a4.chunk.js": "/scrappy/static/js/55.ee1e10a4.chunk.js",
"static/js/55.ee1e10a4.chunk.js.map": "/scrappy/static/js/55.ee1e10a4.chunk.js.map",
"static/js/56.229d543b.chunk.js": "/scrappy/static/js/56.229d543b.chunk.js",
"static/js/56.229d543b.chunk.js.map": "/scrappy/static/js/56.229d543b.chunk.js.map",
"static/js/57.f19c29be.chunk.js": "/scrappy/static/js/57.f19c29be.chunk.js",
"static/js/57.f19c29be.chunk.js.map": "/scrappy/static/js/57.f19c29be.chunk.js.map",
"static/js/58.d29d2028.chunk.js": "/scrappy/static/js/58.d29d2028.chunk.js",
"static/js/58.d29d2028.chunk.js.map": "/scrappy/static/js/58.d29d2028.chunk.js.map",
"static/js/59.9fc5a48b.chunk.js": "/scrappy/static/js/59.9fc5a48b.chunk.js",
"static/js/59.9fc5a48b.chunk.js.map": "/scrappy/static/js/59.9fc5a48b.chunk.js.map",
"static/js/60.04c3ea0d.chunk.js": "/scrappy/static/js/60.04c3ea0d.chunk.js",
"static/js/60.04c3ea0d.chunk.js.map": "/scrappy/static/js/60.04c3ea0d.chunk.js.map",
"static/js/61.b631c504.chunk.js": "/scrappy/static/js/61.b631c504.chunk.js",
"static/js/61.b631c504.chunk.js.map": "/scrappy/static/js/61.b631c504.chunk.js.map",
"static/js/62.7408adc8.chunk.js": "/scrappy/static/js/62.7408adc8.chunk.js",
"static/js/62.7408adc8.chunk.js.map": "/scrappy/static/js/62.7408adc8.chunk.js.map",
"static/js/63.7076f5a4.chunk.js": "/scrappy/static/js/63.7076f5a4.chunk.js",
"static/js/63.7076f5a4.chunk.js.map": "/scrappy/static/js/63.7076f5a4.chunk.js.map",
"static/js/64.f0ee37da.chunk.js": "/scrappy/static/js/64.f0ee37da.chunk.js",
"static/js/64.f0ee37da.chunk.js.map": "/scrappy/static/js/64.f0ee37da.chunk.js.map",
"static/js/65.08957cd4.chunk.js": "/scrappy/static/js/65.08957cd4.chunk.js",
"static/js/65.08957cd4.chunk.js.map": "/scrappy/static/js/65.08957cd4.chunk.js.map",
"static/js/66.3f3cbd84.chunk.js": "/scrappy/static/js/66.3f3cbd84.chunk.js",
"static/js/66.3f3cbd84.chunk.js.map": "/scrappy/static/js/66.3f3cbd84.chunk.js.map",
"static/js/67.4bbf04ac.chunk.js": "/scrappy/static/js/67.4bbf04ac.chunk.js",
"static/js/67.4bbf04ac.chunk.js.map": "/scrappy/static/js/67.4bbf04ac.chunk.js.map",
"static/js/68.f5d35a7d.chunk.js": "/scrappy/static/js/68.f5d35a7d.chunk.js",
"static/js/68.f5d35a7d.chunk.js.map": "/scrappy/static/js/68.f5d35a7d.chunk.js.map",
"static/js/69.85f2f71a.chunk.js": "/scrappy/static/js/69.85f2f71a.chunk.js",
"static/js/69.85f2f71a.chunk.js.map": "/scrappy/static/js/69.85f2f71a.chunk.js.map",
"static/js/70.24d24fdd.chunk.js": "/scrappy/static/js/70.24d24fdd.chunk.js",
"static/js/70.24d24fdd.chunk.js.map": "/scrappy/static/js/70.24d24fdd.chunk.js.map",
"static/js/71.3f11b8a6.chunk.js": "/scrappy/static/js/71.3f11b8a6.chunk.js",
"static/js/71.3f11b8a6.chunk.js.map": "/scrappy/static/js/71.3f11b8a6.chunk.js.map",
"static/js/72.392c3bad.chunk.js": "/scrappy/static/js/72.392c3bad.chunk.js",
"static/js/72.392c3bad.chunk.js.map": "/scrappy/static/js/72.392c3bad.chunk.js.map",
"editor.worker.js": "/scrappy/editor.worker.js",
"editor.worker.js.map": "/scrappy/editor.worker.js.map",
"index.html": "/scrappy/index.html",
"json.worker.js": "/scrappy/json.worker.js",
"json.worker.js.map": "/scrappy/json.worker.js.map",
"static/css/4.3f6ef5e2.chunk.css.map": "/scrappy/static/css/4.3f6ef5e2.chunk.css.map",
"static/css/main.4af68554.chunk.css.map": "/scrappy/static/css/main.4af68554.chunk.css.map",
"static/js/4.6e5e6250.chunk.js.LICENSE.txt": "/scrappy/static/js/4.6e5e6250.chunk.js.LICENSE.txt",
"static/js/65.08957cd4.chunk.js.LICENSE.txt": "/scrappy/static/js/65.08957cd4.chunk.js.LICENSE.txt",
"static/media/brand-logo.7789894b.png": "/scrappy/static/media/brand-logo.7789894b.png",
"static/media/codicon.css": "/scrappy/static/media/codicon.b3726f01.ttf",
"static/media/fabric-icons-0-467ee27f.woff": "/scrappy/static/media/fabric-icons-0-467ee27f.woff",
"static/media/fabric-icons-1-4d521695.woff": "/scrappy/static/media/fabric-icons-1-4d521695.woff",
"static/media/fabric-icons-10-c4ded8e4.woff": "/scrappy/static/media/fabric-icons-10-c4ded8e4.woff",
"static/media/fabric-icons-11-2a8393d6.woff": "/scrappy/static/media/fabric-icons-11-2a8393d6.woff",
"static/media/fabric-icons-12-7e945a1e.woff": "/scrappy/static/media/fabric-icons-12-7e945a1e.woff",
"static/media/fabric-icons-13-c3989a02.woff": "/scrappy/static/media/fabric-icons-13-c3989a02.woff",
"static/media/fabric-icons-14-5cf58db8.woff": "/scrappy/static/media/fabric-icons-14-5cf58db8.woff",
"static/media/fabric-icons-15-3807251b.woff": "/scrappy/static/media/fabric-icons-15-3807251b.woff",
"static/media/fabric-icons-16-9cf93f3b.woff": "/scrappy/static/media/fabric-icons-16-9cf93f3b.woff",
"static/media/fabric-icons-17-0c4ed701.woff": "/scrappy/static/media/fabric-icons-17-0c4ed701.woff",
"static/media/fabric-icons-2-63c99abf.woff": "/scrappy/static/media/fabric-icons-2-63c99abf.woff",
"static/media/fabric-icons-3-089e217a.woff": "/scrappy/static/media/fabric-icons-3-089e217a.woff",
"static/media/fabric-icons-4-a656cc0a.woff": "/scrappy/static/media/fabric-icons-4-a656cc0a.woff",
"static/media/fabric-icons-5-f95ba260.woff": "/scrappy/static/media/fabric-icons-5-f95ba260.woff",
"static/media/fabric-icons-6-ef6fd590.woff": "/scrappy/static/media/fabric-icons-6-ef6fd590.woff",
"static/media/fabric-icons-7-2b97bb99.woff": "/scrappy/static/media/fabric-icons-7-2b97bb99.woff",
"static/media/fabric-icons-8-6fdf1528.woff": "/scrappy/static/media/fabric-icons-8-6fdf1528.woff",
"static/media/fabric-icons-9-c6162b42.woff": "/scrappy/static/media/fabric-icons-9-c6162b42.woff",
"static/media/fabric-icons-a13498cf.woff": "/scrappy/static/media/fabric-icons-a13498cf.woff",
"static/media/index.scss": "/scrappy/static/media/rock-salt-latin-400.f7a9b4b5.woff"
},
"entrypoints": [
"static/js/runtime-main.c7c53ea4.js",
"static/css/4.3f6ef5e2.chunk.css",
"static/js/4.6e5e6250.chunk.js",
"static/css/main.4af68554.chunk.css",
"static/js/main.dacf6c8a.chunk.js"
]
}
2 changes: 2 additions & 0 deletions editor.worker.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions editor.worker.js.map

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions electron.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
"use strict";
exports.__esModule = true;
var electron_1 = require("electron");
var path_1 = require("path");
var electron_log_1 = require("electron-log");
var create_window_1 = require("./main/create-window");
var app_protocol_1 = require("./main/app.protocol");
electron_log_1.info("Logging Directory", path_1.resolve(electron_1.app.getPath("logs")));
var win;
electron_1.protocol.registerSchemesAsPrivileged([
{
scheme: "app",
privileges: { secure: true, standard: true }
},
]);
electron_1.app.on("ready", function () {
electron_1.protocol.registerFileProtocol("app", app_protocol_1["default"](path_1.resolve(__dirname)));
win = create_window_1.createWindow();
});
electron_1.app.on("window-all-closed", function () {
if (process.platform !== "darwin") {
electron_1.app.quit();
}
});
electron_1.app.on("web-contents-created", function (event, contents) {
contents.on("will-navigate", function (event) {
event.preventDefault();
});
});
electron_1.app.on("activate", function () {
if (win === null) {
create_window_1.createWindow();
}
});
Binary file added favicon.128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon.256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon.512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon.64x64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon.icns
Binary file not shown.
Binary file added favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><base href="/scrappy/"/><link rel="icon" href="/scrappy/favicon.ico"/><link rel="icon" type="image/png" href="/scrappy/favicon.64x64.png" sizes="64x64"><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><meta http-equiv="Content-Security-Policy" content=" default-src 'none'; font-src 'self' app:; style-src 'self' 'unsafe-inline' app:; script-src 'self' app:; img-src 'self' data: app: https:; connect-src 'self'; manifest-src 'self' app:; "><link rel="apple-touch-icon" href="/scrappy/favicon.512x512.png"/><link rel="manifest" href="/scrappy/manifest.json"/><style>#app-root,body,html{height:100%;padding:0;margin:0;display:flex;flex:1}</style><title>Scrappy</title><link href="/scrappy/static/css/4.3f6ef5e2.chunk.css" rel="stylesheet"><link href="/scrappy/static/css/main.4af68554.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="app-root"></div><script src="/scrappy/static/js/runtime-main.c7c53ea4.js"></script><script src="/scrappy/static/js/4.6e5e6250.chunk.js"></script><script src="/scrappy/static/js/main.dacf6c8a.chunk.js"></script></body></html>
2 changes: 2 additions & 0 deletions json.worker.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions json.worker.js.map

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions main/app.protocol.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
"use strict";
exports.__esModule = true;
var path_1 = require("path");
var fs_1 = require("fs");
var logger = require("electron-log");
var isPathInside = require("is-path-inside");
// @ts-ignore
exports["default"] = (function (serveFrom) { return function (req, callback) {
var reqUrl = new URL(req.url);
console.log(reqUrl);
logger.debug("Serving Request for APP Resource: " + reqUrl);
var absPath = path_1.join(serveFrom, path_1.normalize(reqUrl.pathname.replace("/scrappy", "")));
logger.info("Resolved App Resource to: " + absPath);
if (isPathInside(absPath, serveFrom) && fs_1.existsSync(absPath)) {
return callback({ path: absPath });
}
else {
throw new Error(absPath + " does not exist or is not inside the app folder");
}
}; });
Loading

0 comments on commit 93eccd9

Please sign in to comment.