|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
extern crate rocket;
|
|
|
|
|
|
|
|
|
|
use poise::serenity_prelude::Http;
|
|
|
|
|
use rocket::{fs::{relative, FileServer}};
|
|
|
|
|
use rocket::fs::{relative, FileServer};
|
|
|
|
|
use rocket_dyn_templates::{tera, Template};
|
|
|
|
|
use sass_rocket_fairing::SassFairing;
|
|
|
|
|
use std::{collections::HashMap, env};
|
|
|
|
@ -58,7 +58,7 @@ async fn rocket() -> _ {
|
|
|
|
|
"langs",
|
|
|
|
|
move |value: &Value, args: &HashMap<String, Value>| {
|
|
|
|
|
langs_filter(value, args, &langs)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
)
|
|
|
|
|
}))
|
|
|
|
|
.attach(SassFairing::default())
|
|
|
|
|