Skip to content

Commit 7f7f315

Browse files
authored
test: Auto Sync
1 parent c3b6867 commit 7f7f315

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/app.controller.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import { Controller, Get } from '@nestjs/common';
22
import { AppService } from './app.service';
3+
import * as ip from 'ip';
34

45
@Controller()
56
export class AppController {
67
constructor(private readonly appService: AppService) {}
78

89
@Get()
910
getHello(): string {
10-
return this.appService.getHello();
11+
return `${this.appService.getHello()} (${ip.address()})`;
1112
}
1213
}

0 commit comments

Comments
 (0)