aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
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}.`,
);
}
}