aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-05-17 07:44:28 +0000
committerFuwn <[email protected]>2022-05-17 07:44:28 +0000
commitffb5363536664ac9b9c6f96beabb653437ce1137 (patch)
tree65026a8d84718c641327d0d3b626bced85550f1a /examples
parentchore(deno.json): update compileroptions (diff)
downloadlaurali-ffb5363536664ac9b9c6f96beabb653437ce1137.tar.xz
laurali-ffb5363536664ac9b9c6f96beabb653437ce1137.zip
feat(server): un-static #hostname and #port
Diffstat (limited to 'examples')
-rw-r--r--examples/my_cool_server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/my_cool_server.ts b/examples/my_cool_server.ts
index 793e01f..3cf3b6d 100644
--- a/examples/my_cool_server.ts
+++ b/examples/my_cool_server.ts
@@ -72,7 +72,7 @@ class MyCoolServer extends Server {
override onListen() {
MyCoolServer.logger.info(
- `Listening on ${MyCoolServer.hostname}:${MyCoolServer.port}.`,
+ `Listening on ${this.hostname}:${this.port}.`,
);
}
}