Skip to content

Commit a35d327

Browse files
committed
update readm
1 parent 56509c8 commit a35d327

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ npm i -S @talaikis/contact-us
2424
import { start, config } from '@talaikis/contact-us'
2525
// config(email, mailgunDomain, mailgunKey, recipient, serviceKey)
2626
// for example:
27-
config('test@test.com', 'talaikis.com', 'key-XXXXX', 'test2@test.com', 'blahblah')
28-
start(3000) // <- port
27+
const conf = config('test@test.com', 'talaikis.com', 'key-XXXXX', 'test2@test.com', 'blahblah')
28+
start(3000, conf) // <- port
2929
```
3030

31+
That's it, you can go to `http://localhost:3000/ping`
32+
3133
## Sample request
3234

3335
```js

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@talaikis/contact-us",
3-
"version": "1.1.3",
3+
"version": "1.1.4",
44
"description": "Contact us API service.",
55
"main": "dist/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)