mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2025-11-24 14:35:46 +00:00
feat: don't run cache busting routines during debug build
This commit is contained in:
parent
100fb4d5ab
commit
6550266aef
1
build.rs
1
build.rs
@ -31,6 +31,7 @@ fn main() {
|
|||||||
let now = OffsetDateTime::now_utc().format("%y-%m-%d");
|
let now = OffsetDateTime::now_utc().format("%y-%m-%d");
|
||||||
println!("cargo:rustc-env=COMPILED_DATE={}", &now);
|
println!("cargo:rustc-env=COMPILED_DATE={}", &now);
|
||||||
|
|
||||||
|
#[cfg(not(debug_assertions))]
|
||||||
cache_bust();
|
cache_bust();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user