Your ROOT_URL in app.ini is https://git.ondrovo.com/ but you are visiting http://159.69.29.240:49153/fgaz/group-actor/src/commit/0403d1ef71736e858563e88a287d07f05fa47bd7/build.rs
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
use std::process::Command;
|
|
use std::str;
|
|
|
|
fn main() {
|
|
let desc_c = Command::new("git").args(&["describe", "--all", "--long"]).output().unwrap();
|
|
|
|
let desc = unsafe { str::from_utf8_unchecked(&desc_c.stdout) };
|
|
|
|
println!("cargo:rustc-env=GIT_REV={}", desc);
|
|
}
|
|
|