Skip to content

Commit 5eb0161

Browse files
committed
Update readme
1 parent 62921ee commit 5eb0161

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

conf/conf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
port: 17777 # port to listen at
2+
bind: 0.0.0.0:17777 # bind server to
33
default_cache_lifetime: 5m # e.g.: 180s, 3m... 0 for no caching
44

55
api: # list of api endpoints

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Tap Waiter offers an http api that serves json objects containing information ab
1919
A configuration file is required and defines the listening port and the api endpoint definitions. A simple example can be found below and another in the `testdata` folder.
2020

2121
```go mdox-exec="tail -n +2 conf/conf.yaml"
22-
port: 17777 # port to listen at
22+
bind: 0.0.0.0:17777 # bind server to
2323
default_cache_lifetime: 5m # e.g.: 180s, 3m... 0 for no caching
2424

2525
api: # list of api endpoints

0 commit comments

Comments
 (0)