Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalcortex committed Oct 16, 2022
1 parent be49105 commit c8744eb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ yarn add feathers-express-ip
## Example usage
Import package
```typescript
// Typescript
import { feathersIp, feathersIpSocketIO } from 'feathers-express-ip';

// Javascript
const { feathersIp, feathersIpSocketIO } = require('feathers-express-ip');
```

For working with socket connections:
Expand Down Expand Up @@ -61,6 +65,3 @@ proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
```

_______
[TAPPYSOFT LTD, Cyprus](https://tappysoft.com/)

0 comments on commit c8744eb

Please sign in to comment.