Quote the "proxy_all" option
The "proxy_all" option from the sample configuration not being quoted was throwing this error when running the server:
Config error: invalid TOML value, did you mean to use a quoted string? at line 38 column 13
This patch makes sure the program will run against the included example config.toml.
This commit is contained in:
@@ -35,7 +35,7 @@ usrdir = true
|
|||||||
proxy = { path = "localhost:1966" }
|
proxy = { path = "localhost:1966" }
|
||||||
# proxy_all is optional
|
# proxy_all is optional
|
||||||
# It will send all requests to the specified server. It also supports streamming.
|
# It will send all requests to the specified server. It also supports streamming.
|
||||||
proxy_all = localhost:1967
|
proxy_all = "localhost:1967"
|
||||||
# redirect is optional
|
# redirect is optional
|
||||||
redirect = { "/redirect" = "/", "/newdomain" = "gemini://example.net" }
|
redirect = { "/redirect" = "/", "/newdomain" = "gemini://example.net" }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user