Skip to content

Commit

Permalink
🐞 fix: picture hotlink protection
Browse files Browse the repository at this point in the history
  • Loading branch information
xing403 committed Oct 12, 2023
1 parent 46250dd commit 16a29a8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .vitepress/cache/deps/_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
"vue": {
"src": "../../../node_modules/.pnpm/[email protected]/node_modules/vue/dist/vue.runtime.esm-bundler.js",
"file": "vue.js",
"fileHash": "2cf0f4fe",
"fileHash": "c395a9c2",
"needsInterop": false
},
"element-plus": {
"src": "../../../node_modules/.pnpm/[email protected][email protected]/node_modules/element-plus/es/index.mjs",
"file": "element-plus.js",
"fileHash": "bf93ae97",
"fileHash": "f5578b2e",
"needsInterop": false
},
"xing-ly": {
"src": "../../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/xing-ly/dist/xing-ly.es.js",
"file": "xing-ly.js",
"fileHash": "28b254c1",
"fileHash": "015e3c53",
"needsInterop": false
}
},
Expand Down
4 changes: 4 additions & 0 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ export default defineConfig({
['link', {
rel: 'icon',
href: '/images/avatar.jpg'
}],
['meta', {
name: 'referrer',
content: 'no-referrer'
}]
],
lang: 'zh-CN',
Expand Down
3 changes: 0 additions & 3 deletions project/xing-ly/components/xl-canvas-image/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ layout: doc
---
# xl-canvas-image
## 基础使用
<script>
import {XlCanvasImage} from 'xing-ly'
</script>
<xl-canvas-image image-url='/images/avatar.jpg' :width='300' :height='300' />

::: details
Expand Down

0 comments on commit 16a29a8

Please sign in to comment.