Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhibbitts committed Aug 21, 2023
1 parent ea2a553 commit 1364ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,7 @@
// TODO: Parse numbers?

// console.log(value,key);
if (key === 'basePath' && !(allowedDomains === '')) {
if (!(allowedDomains === '')) {
const { hostname } = new URL(value);
if (!(allowedDomains.includes(hostname))) {
alert('Only the domain(s) ' + allowedDomains + ' permitted for a Markdown source file URL.');
Expand Down

0 comments on commit 1364ad7

Please sign in to comment.