Initial commit
This commit is contained in:
commit
4a04bfae91
31 changed files with 3297 additions and 0 deletions
12
src/http/novels.rs
Normal file
12
src/http/novels.rs
Normal file
|
@ -0,0 +1,12 @@
|
|||
use crate::state::Router;
|
||||
|
||||
pub fn make() -> Router {
|
||||
Router::new()
|
||||
.nest("/:slug", specific::make())
|
||||
.merge(list::make())
|
||||
.nest("/pull_next", pull_next::make())
|
||||
}
|
||||
|
||||
mod list;
|
||||
mod pull_next;
|
||||
mod specific;
|
Loading…
Add table
Add a link
Reference in a new issue