Skip to content

Commit 6639d4d

Browse files
committed
fix pageviewCount update: True,
1 parent 3059eff commit 6639d4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/waline/Pageview.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ import config from '@/site-config'
1616
if (el) {
1717
pageview.pageviewCount({
1818
serverURL: walineServer,
19-
path: window.location.pathname
19+
path: window.location.pathname,
20+
update: True,
2021
})
2122
}
2223
} catch (e) {

0 commit comments

Comments
 (0)