Skip to content

Commit

Permalink
Merge pull request #105 from jembi/disable-domain-validation
Browse files Browse the repository at this point in the history
Remove domain name restriction in SHlinkViewer
  • Loading branch information
BMartinos authored Sep 30, 2024
2 parents 4746e20 + 63d0c84 commit 3ac43aa
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 3ac43aa

Please sign in to comment.