Skip to content

Commit

Permalink
更新首页图片加载路径
Browse files Browse the repository at this point in the history
  • Loading branch information
more-strive committed Dec 8, 2023
1 parent fbf1cc5 commit e26b728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mocks/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const Templates: Template[] = [
"globalCompositeOperation": "source-over",
"skewX": 0,
"skewY": 0,
"src": "http://localhost:5173/src/assets/images/index.png",
"src": new URL(`/src/assets/images/index.png`, import.meta.url).href,
"crossOrigin": "anonymous",
"filters": []
},
Expand Down

0 comments on commit e26b728

Please sign in to comment.