aboutsummaryrefslogtreecommitdiffstats
path: root/src/types
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-11-28 17:38:55 +0100
committerbptato <nincsnevem662@gmail.com>2024-11-28 17:39:30 +0100
commit46abcd79d5422261cc349cc0b4981357d5ae2fcd (patch)
tree0316eac4257650ea078c908a8eb107099d2623b9 /src/types
parentdf3ff244b0c9ee4814c87b1aca4a3ed19a622dda (diff)
downloadchawan-46abcd79d5422261cc349cc0b4981357d5ae2fcd.tar.gz
layout, term, url: misc cleanup
Diffstat (limited to 'src/types')
-rw-r--r--src/types/url.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/types/url.nim b/src/types/url.nim
index aa7e0ae5..4550f6d7 100644
--- a/src/types/url.nim
+++ b/src/types/url.nim
@@ -1169,8 +1169,6 @@ proc origin*(url: URL): Origin =
t: otTuple,
tup: (url.scheme, url.hostname, url.port, none(string))
)
- of "file":
- return Origin(t: otOpaque, s: $url)
else:
return Origin(t: otOpaque, s: $url)