remove old includes

This commit is contained in:
Franz Dietrich 2021-08-13 11:12:50 +02:00
parent 039a2b5e23
commit da4c90f6b7

View File

@ -6,7 +6,6 @@ mod views;
use actix_files::Files; use actix_files::Files;
use actix_identity::{CookieIdentityPolicy, IdentityService}; use actix_identity::{CookieIdentityPolicy, IdentityService};
use actix_web::{web, App, HttpServer}; use actix_web::{web, App, HttpServer};
use fluent_templates::static_loader;
use pslink::ServerConfig; use pslink::ServerConfig;
use tracing::instrument; use tracing::instrument;
@ -80,13 +79,6 @@ async fn main() -> std::result::Result<(), std::io::Error> {
// include the static files into the binary // include the static files into the binary
include!(concat!(env!("OUT_DIR"), "/generated.rs")); include!(concat!(env!("OUT_DIR"), "/generated.rs"));
static_loader! {
static LOCALES = {
locales: "../locales",
fallback_language: "en",
};
}
/// Launch the pslink-webservice /// Launch the pslink-webservice
/// ///
/// # Errors /// # Errors