Fix PV display when baseurl exists

This commit is contained in:
Cotes Chung
2021-01-18 23:25:09 +08:00
parent 0194bbced9
commit ab0e3f6ee4
3 changed files with 14 additions and 10 deletions

View File

@@ -12,3 +12,5 @@ const proxyEndpoint = "{{ site.google_analytics.pv.proxy_endpoint }}";
{% endif %}
const pvCacheEnabled = {{ enabled }};
const pvCacheData = "{{ '/assets/js/data/pageviews.json' | relative_url }}";