diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-07-28 09:49:26 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-07-28 09:49:26 +0530 |
| commit | aa7d86dbf28ece5a90c3848262d6a75b45370cfe (patch) | |
| tree | cddfbcb4c0717bca9ef9f532ff60317539e6bf74 /config | |
| parent | e7bc5246987c5ac30995308595680ac280ada75b (diff) | |
| download | banglar-bhumi-utils-aa7d86dbf28ece5a90c3848262d6a75b45370cfe.tar.gz banglar-bhumi-utils-aa7d86dbf28ece5a90c3848262d6a75b45370cfe.zip | |
Added ability to download mouza maps.
Fixed view khatian and plot information download.
Diffstat (limited to 'config')
| -rw-r--r-- | config/webpack/plugins/create-manifest-webpack-plugin/index.js | 4 | ||||
| -rw-r--r-- | config/webpack/utils/build-file.js | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/config/webpack/plugins/create-manifest-webpack-plugin/index.js b/config/webpack/plugins/create-manifest-webpack-plugin/index.js index 92c3096..8dc0ae4 100644 --- a/config/webpack/plugins/create-manifest-webpack-plugin/index.js +++ b/config/webpack/plugins/create-manifest-webpack-plugin/index.js @@ -57,10 +57,10 @@ class CreateManifestPlugin { delete arrangedScripts["*"]["document_start"]; for (const scriptPath in arrangedScripts) { - const matches = [`*://banglarbhumi.gov.in/BanglarBhumi/${scriptPath}`]; + const matches = [`*://banglarbhumi.gov.in/BanglarBhumi/${scriptPath}*`]; if (scriptPath === "Home") - matches.push(`*://banglarbhumi.gov.in/BanglarBhumi/${scriptPath}.action`); + matches.push(`*://banglarbhumi.gov.in/BanglarBhumi/${scriptPath}.action*`); for (const scriptRuntime in arrangedScripts[scriptPath]) { manifest.content_scripts.push({ diff --git a/config/webpack/utils/build-file.js b/config/webpack/utils/build-file.js index 6d8fc85..2ab8d86 100644 --- a/config/webpack/utils/build-file.js +++ b/config/webpack/utils/build-file.js @@ -4,7 +4,8 @@ module.exports.getFileName = (fileName, prefix, justHash = false) => { let hash = crypto .createHash("md5") .update(`${prefix}-${fileName}`) - .digest("hex").substring(16); + .digest("hex") + .substring(16); if (production) { return hash; |
