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.
---
config.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.toml b/config.toml
index 8d1a9e4..6a3e573 100644
--- a/config.toml+++ b/config.toml
@@ -35,7 +35,7 @@ usrdir = true
proxy = { path = "localhost:1966" }
# proxy_all is optional
# 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 = { "/redirect" = "/", "/newdomain" = "gemini://example.net" }
--
2.24.3 (Apple Git-128)