~chrisppy/beagles-devel

Change "http" to "gemini" for [URL] not found in gemini v1 APPLIED

Asa Zeren
Asa Zeren: 1
 Change "http" to "gemini" for [URL] not found in gemini

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~chrisppy/beagles-devel/patches/19590/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH] Change "http" to "gemini" for [URL] not found in gemini Export this patch

Asa Zeren
---
 config/browser.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/browser.go b/config/browser.go
index c0cc6c9..c3fad96 100644
--- a/config/browser.go
+++ b/config/browser.go
@@ -91,7 +91,7 @@ func parseBrowser(cfg *Config, dir *scfg.Directive) map[error]bool {
				}
			} else if isGemini {
				if !found {
					errors[fmt.Errorf(`[URL] must be one of the args provided for browser "http"`)] = false
					errors[fmt.Errorf(`[URL] must be one of the args provided for browser "gemini"`)] = false
				} else {
					cfg.Browser.Gemini = cmd
				}
-- 
2.30.0
Could you please resubmit the patch after you have set your name and
email it your git config?

Thanks,
Chris