Skip to content

Commit 252768d

Browse files
Change output to use disk instead of localhost
1 parent 946cc80 commit 252768d

3 files changed

Lines changed: 7 additions & 14 deletions

File tree

package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"version": "1.1.0",
44
"main": "http://localhost:8964",
55
"node-remote": "http://localhost:8964",
6-
"node-main": "",
76
"window": {
87
"width": 960,
98
"height": 600,
@@ -28,7 +27,6 @@
2827
},
2928
"private": true,
3029
"dependencies": {
31-
"express": "^4.17.1"
3230
},
3331
"devDependencies": {
3432
"@angular-devkit/build-angular": "~0.803.8",
@@ -94,15 +92,15 @@
9492
"tslint.json"
9593
],
9694
"strippedProperties": [
97-
"chromium-args",
95+
"ManifestComments",
96+
"node-remote",
9897
"scripts",
9998
"devDependencies",
10099
"build"
101100
],
102101
"overriddenProperties": {
103-
"main": "http://localhost:8965",
104-
"node-remote": "http://localhost:8965",
105-
"node-main": "server.js"
102+
"main": "dist-ng/index.html",
103+
"node-remote": ""
106104
},
107105
"win": {
108106
"icon": "assets/icon-256.ico"

server.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/index.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8">
55
<title>NwAngular</title>
6-
<base href="/">
6+
<base href=".">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<link rel="icon" type="image/x-icon" href="favicon.ico">
99
<script>
10-
window.nw_global = window.global;
11-
window.global = undefined; // can be accessed with window.nw.global or window.nw_global
10+
window.global = undefined; // can be accessed with window.nw.global
1211
window.require = undefined; // can be accessed with window.nw.require
1312
window.process = undefined; // can be accessed with window.nw.process
1413
</script>

0 commit comments

Comments
 (0)