Skip to content

Commit

Permalink
Replaced console.log with console.info (#149)
Browse files Browse the repository at this point in the history
* Added redirect block which supports regex

* Added alert for redirect

* Changed log to info

* Added alert for redirect

* Changed log to info

---------

Co-authored-by: Mathieu Lessard <[email protected]>
  • Loading branch information
mathieu-lessard and Mathieu Lessard authored Aug 1, 2024
1 parent 07bdaed commit 1a68aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/gmo-redirect/gmo-redirect.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default async function decorate(block) {
for(let key in match.groups){
redirect = redirect.replace(`{${key}}`, match.groups[key]);
}
console.log('redirecting to', redirect);
console.info('redirecting to', redirect);
window.location.href = redirect;
return;
}
Expand Down

0 comments on commit 1a68aeb

Please sign in to comment.