Skip to content

Commit

Permalink
docs: Added a random number when including charts-meta.js to resolve …
Browse files Browse the repository at this point in the history
…caching issues.
  • Loading branch information
yuexiaoliang committed Aug 19, 2024
1 parent b1fd4be commit fcb1b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default defineConfig({
description: 'A wuxianx-charts website.',
appearance: false,
head: [
['script', { src: '/charts-meta.js' }],
['script', { src: `/charts-meta.js?${Math.floor(Math.random() * 100000)}` }],
],
themeConfig: {
nav: [
Expand Down

0 comments on commit fcb1b96

Please sign in to comment.