mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add protocol issue page
This commit is contained in:
parent
5236f004eb
commit
d8175ec04e
2 changed files with 17 additions and 1 deletions
|
|
@ -368,11 +368,19 @@ class Page
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
case str_starts_with($url, 'yoda://'):
|
||||||
|
|
||||||
$this->_openYoda(
|
$this->_openYoda(
|
||||||
$url
|
$url
|
||||||
);
|
);
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
|
||||||
|
$this->_openYoda(
|
||||||
|
'yoda://protocol'
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
8
src/Page/Protocol.gmi
Normal file
8
src/Page/Protocol.gmi
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
# Protocol issue
|
||||||
|
|
||||||
|
At this moment, supported protocols:
|
||||||
|
|
||||||
|
* gemini
|
||||||
|
* yoda
|
||||||
|
|
||||||
|
=> https://github.com/YGGverse/Yoda/issues Report
|
||||||
Loading…
Add table
Add a link
Reference in a new issue