fix: pageviews not updated immediately
This commit is contained in:
parent
6f97636fb9
commit
8b4f99c87f
1 changed files with 1 additions and 1 deletions
|
@ -193,8 +193,8 @@ function fetchProxyPageviews() {
|
||||||
type: 'GET',
|
type: 'GET',
|
||||||
url: PvOpts.getProxyMeta(),
|
url: PvOpts.getProxyMeta(),
|
||||||
dataType: 'jsonp',
|
dataType: 'jsonp',
|
||||||
jsonpCallback: 'displayPageviews',
|
|
||||||
success: (data) => {
|
success: (data) => {
|
||||||
|
displayPageviews(data);
|
||||||
PvStorage.saveProxyCache(JSON.stringify(data));
|
PvStorage.saveProxyCache(JSON.stringify(data));
|
||||||
},
|
},
|
||||||
error: (jqXHR, textStatus, errorThrown) => {
|
error: (jqXHR, textStatus, errorThrown) => {
|
||||||
|
|
Loading…
Reference in a new issue