gemenon

[ACTIVE] The Safari of the Gemini ecosystem
git clone git://git.figbert.com/gemenon.git
Log | Files | Refs

commit 9263269a6f7e341c3037493bdf611f9ced64d9a7
parent b218834e62ad8bde9a486ec5d80bbf8b99f72c2e
Author: FIGBERT <figbert@figbert.com>
Date:   Sun,  4 Sep 2022 10:31:32 -0700

Process links relative to current URL

Diffstat:
MGemenon.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved | 2+-
MShared/ContentView.swift | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Gemenon.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Gemenon.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -15,7 +15,7 @@ "location" : "git://git.figbert.com/swiftgemtext.git", "state" : { "branch" : "main", - "revision" : "a76f8784f2764d17cfd8f6ea31361f4465a39a7f" + "revision" : "a9d6755b37ba094e052a3ecf6856ee22034dae4d" } } ], diff --git a/Shared/ContentView.swift b/Shared/ContentView.swift @@ -72,7 +72,7 @@ struct ContentView: View { } func renderGemtext() -> some View { - ForEach(parser.parse(response!.body!.gemtext!), id: \.self) { line in + ForEach(parser.parse(response!.body!.gemtext!, url: response!.url), id: \.self) { line in switch line { case .Text(let str): Text(str)