cargo fmt

This commit is contained in:
jb-alvarado 2022-07-26 11:47:08 +02:00
parent 95b4dccf8c
commit bf516b6ace

View File

@ -40,11 +40,11 @@ async fn validator(req: ServiceRequest, credentials: BearerAuth) -> Result<Servi
fn public_path() -> &'static str {
if Path::new("/usr/share/ffplayout/public/").is_dir() {
return "/usr/share/ffplayout/public/"
return "/usr/share/ffplayout/public/";
}
if Path::new("./public/").is_dir() {
return "./public/"
return "./public/";
}
"./ffplayout-frontend/dist"