diff --git a/PWA/package.json b/PWA/package.json index 2a77a51..cb1201a 100644 --- a/PWA/package.json +++ b/PWA/package.json @@ -1,6 +1,6 @@ { "name": "ReliefBox", - "version": "0.23.0", + "version": "0.23.1", "description": "A tool for managing the distribution of relief items during humanitarian emergencies.", "main": "index.js", "scripts": { diff --git a/PWA/public/index.html b/PWA/public/index.html index e5ce021..b5a5000 100644 --- a/PWA/public/index.html +++ b/PWA/public/index.html @@ -39,7 +39,7 @@ -
+ diff --git a/PWA/src/Services/FetchEventHandlers/DownloadDataHandler.ts b/PWA/src/Services/FetchEventHandlers/DownloadDataHandler.ts index 39400bf..01e9489 100644 --- a/PWA/src/Services/FetchEventHandlers/DownloadDataHandler.ts +++ b/PWA/src/Services/FetchEventHandlers/DownloadDataHandler.ts @@ -7,7 +7,7 @@ import { BeneficiaryStatusService } from "../BeneficiaryStatusService.js"; export class DownloadDataHandler extends ActiveSessionContainer implements FetchEventHandler { canHandleEvent(event: FetchEvent): boolean { - return event.request.url.includes(RouteEvents.downloadData); + return event.request.url.includes("/myfile.pdf"); } async handleEvent(event: FetchEvent): Promise