Skip to content

Commit

Permalink
Merge pull request #507 from magefan/8588-post-view-links-404
Browse files Browse the repository at this point in the history
post view count encode url
  • Loading branch information
magefan authored Jun 14, 2023
2 parents 6228f97 + ecc8c33 commit 6c3c5f8
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 6c3c5f8

Please sign in to comment.