From b61c90f7434ec1ed107ff7be5c41bd05f93c3999 Mon Sep 17 00:00:00 2001 From: Ege Korkan Date: Fri, 8 Sep 2023 00:03:42 +0300 Subject: [PATCH] examples: copy to root --- examples/quickstart/simple-coffee-machine.js | 1 + examples/quickstart/smart-clock.js | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/quickstart/simple-coffee-machine.js b/examples/quickstart/simple-coffee-machine.js index a248afe63..59c39781b 100644 --- a/examples/quickstart/simple-coffee-machine.js +++ b/examples/quickstart/simple-coffee-machine.js @@ -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; diff --git a/examples/quickstart/smart-clock.js b/examples/quickstart/smart-clock.js index 3478e0029..8c71c0f9c 100644 --- a/examples/quickstart/smart-clock.js +++ b/examples/quickstart/smart-clock.js @@ -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) {