rearranged static files

This commit is contained in:
realaravinth
2021-05-29 12:22:31 +05:30
parent 417e008c27
commit c873d152c3
83 changed files with 49 additions and 44 deletions

View File

@@ -55,11 +55,11 @@ lazy_static! {
// pub static ref S: String = env::var("S").unwrap();
pub static ref FILES: FileMap = FileMap::new();
pub static ref JS: &'static str =
FILES.get("./static-assets/bundle/bundle.js").unwrap();
FILES.get("./static/cache/bundle/bundle.js").unwrap();
pub static ref CSS: &'static str =
FILES.get("./static-assets/bundle/bundle.css").unwrap();
FILES.get("./static/cache/bundle/bundle.css").unwrap();
pub static ref MOBILE_CSS: &'static str =
FILES.get("./static-assets/bundle/mobile.css").unwrap();
FILES.get("./static/cache/bundle/mobile.css").unwrap();
/// points to source files matching build commit
pub static ref SOURCE_FILES_OF_INSTANCE: String = {