Skip to content

Commit

Permalink
fix: exclude microlink subdomains
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Apr 4, 2024
1 parent cf1ee5b commit de957f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const print = require('./print')
const exit = require('./exit')

const microlinkUrl = () =>
/^https?:\/\/((?!geolocation\.)[a-z0-9-]+\.)?microlink\.io/
/^https?:\/\/((?!geolocation\.)[a-z0-9-]+\.)+microlink\.io/

const normalizeInput = input => {
if (!input) return input
Expand Down

0 comments on commit de957f6

Please sign in to comment.