mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 01:55:40 +00:00
updated cache buster
This commit is contained in:
4
build.rs
4
build.rs
@@ -15,7 +15,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
use cache_buster::BusterBuilder;
|
||||
use cache_buster::{BusterBuilder, NoHashCategory};
|
||||
use std::process::Command;
|
||||
|
||||
fn main() {
|
||||
@@ -48,7 +48,7 @@ fn cache_bust() {
|
||||
// mime::TEXT_CSS,
|
||||
// ];
|
||||
|
||||
let no_hash = vec!["bundle/f3c927fe82899094538e.module.wasm"];
|
||||
let no_hash = vec![NoHashCategory::FileExtentions(vec!["wasm"])];
|
||||
|
||||
let config = BusterBuilder::default()
|
||||
.source("./static/cache")
|
||||
|
||||
Reference in New Issue
Block a user