diff --git a/src/Entity/Tab/Page.php b/src/Entity/Tab/Page.php index 8dd65d2c..c5d80f2e 100644 --- a/src/Entity/Tab/Page.php +++ b/src/Entity/Tab/Page.php @@ -368,11 +368,19 @@ class Page break; - default: + case str_starts_with($url, 'yoda://'): $this->_openYoda( $url ); + + break; + + default: + + $this->_openYoda( + 'yoda://protocol' + ); } } diff --git a/src/Page/Protocol.gmi b/src/Page/Protocol.gmi new file mode 100644 index 00000000..0ba850d0 --- /dev/null +++ b/src/Page/Protocol.gmi @@ -0,0 +1,8 @@ +# Protocol issue + +At this moment, supported protocols: + +* gemini +* yoda + +=> https://github.com/YGGverse/Yoda/issues Report \ No newline at end of file