使用url()来构建url

This commit is contained in:
masnn committed 2020-06-12 13:37:19 +08:00
1 parent 0efac48bde
commit 86f67a0ec3
61 files changed
+262 -275

No files matched your search

+2 -2
View File
@@ -42,8 +42,8 @@ class PasteCreateHandler extends Handler {
}
async function apply() {
Route('/paste/create', PasteCreateHandler);
Route('/paste/:docId', PasteShowHandler);
Route('paste_create', '/paste/create', PasteCreateHandler);
Route('paste_show', '/paste/:docId', PasteShowHandler);
nav('/paste/create', 'pastebin', 'pastebin', PERM_LOGGEDIN);
}