From c67b7ac686f483b667584f829deea27fc423685f Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Tue, 17 Oct 2023 15:47:15 +0530 Subject: [PATCH] fix: cache busting metadata is stored in libcachebust_data.json --- Makefile | 2 +- src/static_assets/filemap.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ec966c18..605afae1 100644 --- a/Makefile +++ b/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} \ diff --git a/src/static_assets/filemap.rs b/src/static_assets/filemap.rs index 065284dc..60942269 100644 --- a/src/static_assets/filemap.rs +++ b/src/static_assets/filemap.rs @@ -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 } }