Skip to content

Commit b4a5cca

Browse files
committed
Fixed npm start.
1 parent 306abe2 commit b4a5cca

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

demo/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Gleap.setWSApiUrl("ws://0.0.0.0:8080");
66

77
// Gleap.setLanguage("en");
88

9-
Gleap.initialize("kqHBGdyxG0qq6gcfHDqgNkxg5r0Ut0Le");
9+
Gleap.initialize("ogWhNhuiZcGWrva5nlDS8l7a78OfaLlV");
1010

1111
/*Gleap.setUrlHandler((url, newTab) => {
1212
alert("URL: " + url + " newTab: " + newTab);

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"version": "12.8.1",
44
"main": "build/index.js",
55
"scripts": {
6-
"start": "webpack serve",
7-
"build": "webpack",
8-
"test": "jest",
9-
"prepare": "npm run build",
10-
"trypublish": "npm publish || true"
6+
"start": "NODE_OPTIONS=--openssl-legacy-provider webpack serve",
7+
"build": "NODE_OPTIONS=--openssl-legacy-provider webpack",
8+
"test": "NODE_OPTIONS=--openssl-legacy-provider jest",
9+
"prepare": "NODE_OPTIONS=--openssl-legacy-provider npm run build",
10+
"trypublish": "NODE_OPTIONS=--openssl-legacy-provider npm publish || true"
1111
},
1212
"repository": {
1313
"type": "git",

0 commit comments

Comments
 (0)