Skip to content

Commit

Permalink
Remove URL domain validation in SHlinkViewer component
Browse files Browse the repository at this point in the history
  • Loading branch information
medchedli committed Sep 30, 2024
1 parent 4746e20 commit 63d0c84
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/app/viewer/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,6 @@ export default function SHlinkViewer() {
'Invalid token data. Please ask the patient to generate a new valid link.',
);
return;
} else if (!isValidUrl(url)) {
setError('Invalid URL detected. Please contact support.');
return;
}
if (tokenData && tokenData.flag !== 'L' && !passcode) {
setPasscodeError(true);
Expand Down

0 comments on commit 63d0c84

Please sign in to comment.