Skip to content

Commit 5bdc1af

Browse files
committed
fixup: remove real API key from example
Signed-off-by: Lance Ball <[email protected]>
1 parent 87b38f5 commit 5bdc1af

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

examples/browser/index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>CloudEvent Example</title>
5+
<script src="../../_bundles/cloudevents-sdk.js"></script>
6+
<script>
7+
const ce = new CloudEvent();
8+
console.log(ce);
9+
</script>
10+
</head>
11+
<body>
12+
Hello
13+
</body>
14+
</html>

examples/websocket/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const WebSocket = require("ws");
66
const got = require("got");
77

88
const api = "https://api.openweathermap.org/data/2.5/weather";
9-
const key = "506e9b3eef5b37d0bc745a5c9529788d";
9+
const key = "ADD YOUR OPEN WEATHER MAP API KEY HERE";
1010
const ws = new WebSocket("ws://localhost:8080");
1111

1212
const rl = readline.createInterface({

0 commit comments

Comments
 (0)