Daniel García
4 years ago
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A
1 changed files with
5 additions and
1 deletions
-
src/api/web.rs
|
|
@ -4,7 +4,11 @@ use rocket::{http::ContentType, response::content::Content, response::NamedFile, |
|
|
|
use rocket_contrib::json::Json; |
|
|
|
use serde_json::Value; |
|
|
|
|
|
|
|
use crate::{CONFIG, error::Error, util::{Cached, SafeString}}; |
|
|
|
use crate::{ |
|
|
|
error::Error, |
|
|
|
util::{Cached, SafeString}, |
|
|
|
CONFIG, |
|
|
|
}; |
|
|
|
|
|
|
|
pub fn routes() -> Vec<Route> { |
|
|
|
// If addding more routes here, consider also adding them to
|
|
|
|