fix: cache busting metadata is stored in libcachebust_data.json

This commit is contained in:
Aravinth Manivannan 2023-10-17 15:47:15 +05:30
parent cb7245d577
commit c67b7ac686
No known key found for this signature in database
GPG key ID: F8F50389936984FF
2 changed files with 2 additions and 2 deletions

View file

@ -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} \

View file

@ -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 }
}