File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ servient.addServer(
2424 port : 8081 ,
2525 } )
2626) ;
27+ core_1 . Helpers . setStaticAddress ( "plugfest.thingweb.io" ) ; // comment this out if you are testing locally
2728let waterAmount = 100 ;
2829let beansAmount = 100 ;
2930let milkAmount = 100 ;
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ const binding_coap_1 = require("@node-wot/binding-coap");
1919// create Servient add CoAP binding with port configuration
2020const servient = new core_1 . Servient ( ) ;
2121servient . addServer ( new binding_coap_1 . CoapServer ( 5685 ) ) ;
22+ core_1 . Helpers . setStaticAddress ( "plugfest.thingweb.io" ) ; // comment this out if you are testing locally
2223let minuteCounter = 0 ;
2324let hourCounter = 0 ;
2425async function timeCount ( thing ) {
You can’t perform that action at this time.
0 commit comments