Skip to content

Commit

Permalink
fix: pageviews not updated immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
cotes2020 committed Mar 30, 2023
1 parent 6f97636 commit 8b4f99c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _javascript/modules/components/pageviews.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ function fetchProxyPageviews() {
type: 'GET',
url: PvOpts.getProxyMeta(),
dataType: 'jsonp',
jsonpCallback: 'displayPageviews',
success: (data) => {
displayPageviews(data);
PvStorage.saveProxyCache(JSON.stringify(data));
},
error: (jqXHR, textStatus, errorThrown) => {
Expand Down

0 comments on commit 8b4f99c

Please sign in to comment.