Skip to content

Commit

Permalink
Merge pull request #95 from AI4Bharat/dev
Browse files Browse the repository at this point in the history
Loophole fix for iFrame Cacging
  • Loading branch information
Shanks0465 authored Dec 17, 2024
2 parents 3588d91 + 339cc61 commit 245f8d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/app/[title]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default function Standalone({ params }: { params: { title: string } }) {
title={`${params.title}`}
width="100%"
height={1200}
name={Date.now().toString()}
/>
);
} else {
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/app/datasets/[title]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default function Dataset({ params }: { params: { title: string } }) {
title={`${params.title}`}
width="100%"
height={2000}
name={Date.now().toString()}
/>
);
} else if (params.title.includes("indicvoices")) {
Expand All @@ -23,6 +24,7 @@ export default function Dataset({ params }: { params: { title: string } }) {
title={`${params.title}`}
width="100%"
height={2000}
name={Date.now().toString()}
/>
);
} else if (params.title.includes("bpcc")) {
Expand All @@ -32,6 +34,7 @@ export default function Dataset({ params }: { params: { title: string } }) {
title={`${params.title}`}
width="100%"
height={2000}
name={Date.now().toString()}
/>
);
} else {
Expand All @@ -41,6 +44,7 @@ export default function Dataset({ params }: { params: { title: string } }) {
title={`${params.title}`}
width="100%"
height={2000}
name={Date.now().toString()}
/>
);
}
Expand Down

0 comments on commit 245f8d1

Please sign in to comment.