Skip to content

Commit

Permalink
Fix test for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ivank committed Nov 16, 2023
1 parent 32498c6 commit f2c39ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/docs/src/http-service/hostname.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ const listener = async () => jsonOk({ ok: true });
const localhost = new HttpService({ hostname: 'localhost', listener });

/**
* Listen only to localhost ip
* Listen only to all
*/
const internet = new HttpService({ hostname: '127.0.0.1', listener });
const internet = new HttpService({ hostname: '0.0.0.0', listener });

/**
* Listen node's default (all)
Expand Down
1 change: 0 additions & 1 deletion examples/docs/tests/integration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ describe('Docs examples', () => {
'src/http-service/hostname.ts',
[
{ req: { url: 'http://localhost:5101' }, res: { status: 200 } },
{ req: { url: 'http://localhost:5102' }, res: { status: 200 } },
{ req: { url: '/' }, res: { status: 200 } },
],
],
Expand Down

0 comments on commit f2c39ff

Please sign in to comment.