Skip to content

Commit ada5fa7

Browse files
fix test
1 parent 71ce3c2 commit ada5fa7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ allow_list = ["file:///allowed.txt"]
5959
6060
# optional
6161
[api]
62-
port = 8080
63-
listen = "127.0.0.1"
62+
listener = "127.0.0.1:8080"
63+
# to use unix sockets, start listener with `unix://`
64+
#listener = "unix:///tmp/crab-hole.sock"
6465
# optional (default = false)
6566
show_doc = true # OpenAPI doc loads content from third party websites
6667
# optional

config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ lists = [
88

99
# optional
1010
[api]
11-
listener = "/home/lukas/test.tmp"
11+
listener = "unix:///tmp/crab-hole.sock"
1212
# optional (default = false)
1313
show_doc = true # OpenAPI doc loads content from third party websites
1414
# optional

example-config.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ allow_list = ["file:///allowed.txt"]
1010

1111
# optional
1212
[api]
13-
port = 8080
14-
listen = "127.0.0.1"
13+
listener = "127.0.0.1:8080"
1514
# optional (default = false)
1615
show_doc = true # OpenAPI doc loads content from third party websites
1716
# optional

0 commit comments

Comments
 (0)