Skip to content

Commit

Permalink
post view count encode url
Browse files Browse the repository at this point in the history
  • Loading branch information
ihormandzyuk committed Jun 8, 2023
1 parent ceb5e63 commit ecc8c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/frontend/templates/post/view/views_count.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
require(['jquery', 'domReady!'], function($){
setTimeout(function(){
$.ajax({
url:"<?= $block->escapeUrl($block->getCounterUrl());?>",
url: atob( '<?= base64_encode($block->getCounterUrl()) ?>'),
type:'POST',
dataType: 'json',
success: function(response) { }
Expand Down

0 comments on commit ecc8c33

Please sign in to comment.