mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
eslint
This commit is contained in:
1 parent
605f8fc65d
commit
741a9ac511
7 files changed
+8
-20
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
Reference in new issue
Block a user