change order
This commit is contained in:
parent
14abd7d5be
commit
1bbc986d8c
@ -163,18 +163,18 @@ pub fn db_path() -> Result<&'static str, Box<dyn std::error::Error>> {
|
||||
}
|
||||
|
||||
pub fn public_path() -> PathBuf {
|
||||
let path = PathBuf::from("/usr/share/ffplayout/public/");
|
||||
|
||||
if path.is_dir() {
|
||||
return path;
|
||||
}
|
||||
|
||||
let path = PathBuf::from("./ffplayout-frontend/.output/public/");
|
||||
|
||||
if cfg!(debug_assertions) && path.is_dir() {
|
||||
return path;
|
||||
}
|
||||
|
||||
let path = PathBuf::from("/usr/share/ffplayout/public/");
|
||||
|
||||
if path.is_dir() {
|
||||
return path;
|
||||
}
|
||||
|
||||
PathBuf::from("./public/")
|
||||
}
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 8eb543ddae035e448ea0886ec1d44256de2e6f07
|
||||
Subproject commit 28bcfcd1a399a9dd5363541f5f01203c7d968e18
|
Loading…
x
Reference in New Issue
Block a user