cargo fmt
This commit is contained in:
parent
95b4dccf8c
commit
bf516b6ace
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user