Skip to content

Commit

Permalink
Fix issues with toml in Configuration.md (#40)
Browse files Browse the repository at this point in the history
Added missing commas to customdnsrecords
Removed duplicate blocklist array, was causing server crash on startup.
  • Loading branch information
wycre authored Nov 16, 2023
1 parent 8ffd273 commit 6e2a4fd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions doc/src/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ questioncachecap = 5000

# manual custom dns entries - comments for reference
customdnsrecords = [
# "example.mywebsite.tld IN A 10.0.0.1"
# "example.mywebsite.tld IN A 10.0.0.1",
# "example.other.tld IN CNAME wikipedia.org"
]

Expand All @@ -53,8 +53,6 @@ customdnsrecords = [
]
# list of locations to recursively read blocklists from (warning, every file found is assumed to be a hosts-file or domain list)
sourcedirs = ["sources"]
# manual blocklist entries
blocklist = []
# manual whitelist entries - comments for reference
whitelist = [
# "getsentry.com",
Expand Down Expand Up @@ -94,4 +92,4 @@ customdnsrecords = [
caPath = ""
```

The most up-to-date version can be found on [config.go](https://github.com/Cottand/leng/blob/master/config.go)
The most up-to-date version can be found on [config.go](https://github.com/Cottand/leng/blob/master/config.go)

0 comments on commit 6e2a4fd

Please sign in to comment.