Skip to content

Commit c8177c2

Browse files
authored
Merge pull request #1075 from relu91/master
fix(examples/quickstart/smart-clock): change default port
2 parents c3c468f + bf874d6 commit c8177c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/quickstart/smart-clock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const core_1 = require("@node-wot/core");
1818
const binding_coap_1 = require("@node-wot/binding-coap");
1919
// create Servient add CoAP binding with port configuration
2020
const servient = new core_1.Servient();
21-
servient.addServer(new binding_coap_1.CoapServer(5685));
21+
servient.addServer(new binding_coap_1.CoapServer(5686));
2222
core_1.Helpers.setStaticAddress("plugfest.thingweb.io"); // comment this out if you are testing locally
2323
let minuteCounter = 0;
2424
let hourCounter = 0;

packages/examples/src/quickstart/smart-clock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { CoapServer } from "@node-wot/binding-coap";
2020

2121
// create Servient add CoAP binding with port configuration
2222
const servient = new Servient();
23-
servient.addServer(new CoapServer(5685));
23+
servient.addServer(new CoapServer(5686));
2424

2525
Helpers.setStaticAddress("plugfest.thingweb.io"); // comment this out if you are testing locally
2626

0 commit comments

Comments
 (0)