Skip to content

Commit

Permalink
#24 find out if the iframe route works bump 0.24.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmenno committed Nov 25, 2024
1 parent 804189e commit a7e9be4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PWA/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion PWA/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<!-- <a class="navbar-item">-->
<img src="images/ReliefBox-horizontal-nobackground.png" width="220" height="30">
<!-- </a>-->
<div class="navbar-item">0.23.0</div>
<div class="navbar-item">0.23.1</div>
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbarBasicExample">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
Expand Down
2 changes: 1 addition & 1 deletion PWA/src/Services/FetchEventHandlers/DownloadDataHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Response> {
Expand Down

0 comments on commit a7e9be4

Please sign in to comment.