mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
path_components
This commit is contained in:
1 parent
5ca424da0b
commit
c93597703e
15 files changed
+134
-130
No files matched your search
@@ -6,8 +6,8 @@ class WikiHandler extends Handler {
|
||||
if (!global.Hydro.wiki[page]) throw new NotFoundError(page);
|
||||
const contents = global.Hydro.wiki[page];
|
||||
const path = [
|
||||
['Hydro', '/'],
|
||||
['wiki', '/wiki'],
|
||||
['Hydro', 'homepage'],
|
||||
['wiki', null],
|
||||
[`wiki_${page}`, null],
|
||||
];
|
||||
this.response.body = {
|
||||
|
||||
Reference in new issue
Block a user