The Lambda Lab
/
projects
/
elpher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ba9c1a
)
Fixed handling of spartan urls in elpher-go.
author
plugd
<plugd@thelambdalab.xyz>
Fri, 6 May 2022 11:49:31 +0000
(13:49 +0200)
committer
plugd
<plugd@thelambdalab.xyz>
Fri, 6 May 2022 11:49:31 +0000
(13:49 +0200)
elpher.el
patch
|
blob
|
history
diff --git
a/elpher.el
b/elpher.el
index
42816c8
..
f582e45
100644
(file)
--- a/
elpher.el
+++ b/
elpher.el
@@
-363,8
+363,8
@@
is not explicitly given."
(when (or (equal (url-filename url) "")
(equal (url-filename url) "/"))
(setf (url-filename url) "/1")))
- (when (
equal "gemini" (url-type url
))
- ;; Gemini defaults
+ (when (
member (url-type url) '("gemini" "spartan"
))
+ ;; Gemini
and Spartan
defaults
(if (equal (url-filename url) "")
(setf (url-filename url) "/"))))
(elpher-remove-redundant-ports url))