Skip to content

Commit

Permalink
examples: copy to root
Browse files Browse the repository at this point in the history
  • Loading branch information
egekorkan committed Sep 7, 2023
1 parent 4fafd4a commit b61c90f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/quickstart/simple-coffee-machine.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ servient.addServer(
port: 8081,
})
);
core_1.Helpers.setStaticAddress("plugfest.thingweb.io"); // comment this out if you are testing locally
let waterAmount = 100;
let beansAmount = 100;
let milkAmount = 100;
Expand Down
1 change: 1 addition & 0 deletions examples/quickstart/smart-clock.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const binding_coap_1 = require("@node-wot/binding-coap");
// create Servient add CoAP binding with port configuration
const servient = new core_1.Servient();
servient.addServer(new binding_coap_1.CoapServer(5685));
core_1.Helpers.setStaticAddress("plugfest.thingweb.io"); // comment this out if you are testing locally
let minuteCounter = 0;
let hourCounter = 0;
async function timeCount(thing) {
Expand Down

0 comments on commit b61c90f

Please sign in to comment.