path_components

This commit is contained in:
masnn committed 2020-06-13 12:24:54 +08:00
1 parent 5ca424da0b
commit c93597703e
15 files changed
+134 -130

No files matched your search

+2 -2
View File
@@ -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 = {