We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3b6867 commit 7f7f315Copy full SHA for 7f7f315
1 file changed
src/app.controller.ts
@@ -1,12 +1,13 @@
1
import { Controller, Get } from '@nestjs/common';
2
import { AppService } from './app.service';
3
+import * as ip from 'ip';
4
5
@Controller()
6
export class AppController {
7
constructor(private readonly appService: AppService) {}
8
9
@Get()
10
getHello(): string {
- return this.appService.getHello();
11
+ return `${this.appService.getHello()} (${ip.address()})`;
12
}
13
0 commit comments