Skip to content

Commit 5612f42

Browse files
committed
Add missing routes for comments
1 parent af55e02 commit 5612f42

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ function main() {
8989
$router->addRoute( // URL: /
9090
"#^/$#", "Legacy", "LegacyHtml"
9191
);
92+
$router->addRoute( // URL: /comment/create
93+
"#^/comment/create/?$#", "CommentCreate", "CommentCreateHtml"
94+
);
95+
$router->addRoute( // URL: /comment/delete
96+
"#^/comment/delete/?$#", "CommetDelete", "CommentDeleteHtml"
97+
);
9298
$router->addRoute( // URL: /credits
9399
"#^/credits/?$#", "Credits", "CreditsHtml"
94100
);

0 commit comments

Comments
 (0)