Formatting

This commit is contained in:
Daniel García 2021-07-15 21:52:17 +02:00
parent 96c2416903
commit 56ffec40f4
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A

View File

@ -4,7 +4,11 @@ use rocket::{http::ContentType, response::content::Content, response::NamedFile,
use rocket_contrib::json::Json; use rocket_contrib::json::Json;
use serde_json::Value; 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> { pub fn routes() -> Vec<Route> {
// If addding more routes here, consider also adding them to // If addding more routes here, consider also adding them to