This commit is contained in:
masnn committed 2020-06-10 13:26:00 +08:00
1 parent 605f8fc65d
commit 741a9ac511
7 files changed
+8 -20

No files matched your search

+2 -2
View File
@@ -42,8 +42,8 @@ class PasteCreateHandler extends Handler {
}
async function apply() {
Route('/paste/create', module.exports.PasteCreateHandler);
Route('/paste/:docId', module.exports.PasteShowHandler);
Route('/paste/create', PasteCreateHandler);
Route('/paste/:docId', PasteShowHandler);
nav('/paste/create', 'pastebin', 'pastebin', PERM_LOGGEDIN);
}
+1 -1
View File
@@ -20,7 +20,7 @@ class WikiHandler extends Handler {
}
async function apply() {
Route('/wiki/:name', module.exports.WikiHandler);
Route('/wiki/:name', WikiHandler);
}
global.Hydro.handler.wiki = module.exports = apply;