mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2025-03-14 13:08:27 +03:00
feat: don't run cache busting routines during debug build
This commit is contained in:
parent
100fb4d5ab
commit
6550266aef
1 changed files with 1 additions and 0 deletions
1
build.rs
1
build.rs
|
@ -31,6 +31,7 @@ fn main() {
|
|||
let now = OffsetDateTime::now_utc().format("%y-%m-%d");
|
||||
println!("cargo:rustc-env=COMPILED_DATE={}", &now);
|
||||
|
||||
#[cfg(not(debug_assertions))]
|
||||
cache_bust();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue