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