diff options
| author | Fuwn <[email protected]> | 2022-05-17 07:44:28 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-05-17 07:44:28 +0000 |
| commit | ffb5363536664ac9b9c6f96beabb653437ce1137 (patch) | |
| tree | 65026a8d84718c641327d0d3b626bced85550f1a /examples | |
| parent | chore(deno.json): update compileroptions (diff) | |
| download | laurali-ffb5363536664ac9b9c6f96beabb653437ce1137.tar.xz laurali-ffb5363536664ac9b9c6f96beabb653437ce1137.zip | |
feat(server): un-static #hostname and #port
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/my_cool_server.ts | 2 |
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}.`, ); } } |