fix: cache busting metadata is stored in libcachebust_data.json
This commit is contained in:
parent
cb7245d577
commit
c67b7ac686
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -4,7 +4,7 @@
|
|||
|
||||
BUNDLE = static/cache/bundle
|
||||
OPENAPI = docs/openapi
|
||||
CLEAN_UP = $(BUNDLE) src/cache_buster_data.json assets
|
||||
CLEAN_UP = $(BUNDLE) src/libcachebust_data.json assets
|
||||
|
||||
define deploy_dependencies ## deploy dependencies
|
||||
@-docker create --name ${db} \
|
||||
|
|
|
@ -12,7 +12,7 @@ pub struct FileMap {
|
|||
impl FileMap {
|
||||
#[allow(clippy::new_without_default)]
|
||||
pub fn new() -> Self {
|
||||
let map = include_str!("../cache_buster_data.json");
|
||||
let map = include_str!("../libcachebust_data.json");
|
||||
let files = Files::new(map);
|
||||
Self { files }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue