diff --git a/web/app/(commonLayout)/list.module.css b/web/app/(commonLayout)/list.module.css index c4d3aec29f..cefa9ccee7 100644 --- a/web/app/(commonLayout)/list.module.css +++ b/web/app/(commonLayout)/list.module.css @@ -86,11 +86,11 @@ } /* .newItemIconChat { - background-image: url("~@/app/components/base/icons/assets/public/header-nav/studio/Robot.svg"); + background-image: url("@/app/components/base/icons/assets/public/header-nav/studio/Robot.svg"); } .selected .newItemIconChat { - background-image: url("~@/app/components/base/icons/assets/public/header-nav/studio/Robot-Active.svg"); + background-image: url("@/app/components/base/icons/assets/public/header-nav/studio/Robot-Active.svg"); } */ .newItemIconComplete { @@ -120,7 +120,7 @@ .deleteDatasetIcon { @apply hidden grow-0 shrink-0 basis-8 w-8 h-8 rounded-lg transition-colors duration-200 ease-in-out bg-white border border-gray-200 hover:bg-gray-100 bg-center bg-no-repeat; background-size: 16px; - background-image: url('~@/assets/delete.svg'); + background-image: url('/assets/delete.svg'); } .listItem:hover .deleteDatasetIcon { diff --git a/web/app/components/base/audio-btn/style.module.css b/web/app/components/base/audio-btn/style.module.css index 7e3175aa13..bf1a1b6867 100644 --- a/web/app/components/base/audio-btn/style.module.css +++ b/web/app/components/base/audio-btn/style.module.css @@ -1,10 +1,10 @@ .playIcon { - background-image: url(~@/app/components/develop/secret-key/assets/play.svg); + background-image: url(/assets/play.svg); background-position: center; background-repeat: no-repeat; } .pauseIcon { - background-image: url(~@/app/components/develop/secret-key/assets/pause.svg); + background-image: url(/assets/pause.svg); background-position: center; background-repeat: no-repeat; } diff --git a/web/app/components/base/copy-btn/style.module.css b/web/app/components/base/copy-btn/style.module.css index 83625d6189..c7eee9e357 100644 --- a/web/app/components/base/copy-btn/style.module.css +++ b/web/app/components/base/copy-btn/style.module.css @@ -1,15 +1,15 @@ .copyIcon { - background-image: url(~@/app/components/develop/secret-key/assets/copy.svg); + background-image: url(app/components/develop/secret-key/assets/copy.svg); background-position: center; background-repeat: no-repeat; } .copyIcon:hover { - background-image: url(~@/app/components/develop/secret-key/assets/copy-hover.svg); + background-image: url(app/components/develop/secret-key/assets/copy-hover.svg); background-position: center; background-repeat: no-repeat; } .copyIcon.copied { - background-image: url(~@/app/components/develop/secret-key/assets/copied.svg); + background-image: url(app/components/develop/secret-key/assets/copied.svg); } diff --git a/web/app/components/base/copy-feedback/style.module.css b/web/app/components/base/copy-feedback/style.module.css index 83625d6189..f4118ab40b 100644 --- a/web/app/components/base/copy-feedback/style.module.css +++ b/web/app/components/base/copy-feedback/style.module.css @@ -1,15 +1,15 @@ .copyIcon { - background-image: url(~@/app/components/develop/secret-key/assets/copy.svg); + background-image: url(/assets/copy.svg); background-position: center; background-repeat: no-repeat; } .copyIcon:hover { - background-image: url(~@/app/components/develop/secret-key/assets/copy-hover.svg); + background-image: url(/assets/copy-hover.svg); background-position: center; background-repeat: no-repeat; } .copyIcon.copied { - background-image: url(~@/app/components/develop/secret-key/assets/copied.svg); + background-image: url(/assets/copied.svg); } diff --git a/web/app/components/base/icons/src/image/llm/BaichuanTextCn.module.css b/web/app/components/base/icons/src/image/llm/BaichuanTextCn.module.css index 97ab9b22f9..fee819e73c 100644 --- a/web/app/components/base/icons/src/image/llm/BaichuanTextCn.module.css +++ b/web/app/components/base/icons/src/image/llm/BaichuanTextCn.module.css @@ -1,5 +1,5 @@ .wrapper { display: inline-flex; - background: url(~@/app/components/base/icons/assets/image/llm/baichuan-text-cn.png) center center no-repeat; + background: url(app/components/base/icons/assets/image/llm/baichuan-text-cn.png) center center no-repeat; background-size: contain; } diff --git a/web/app/components/base/icons/src/image/llm/Minimax.module.css b/web/app/components/base/icons/src/image/llm/Minimax.module.css index 551ecc3c62..0c4a4eb10e 100644 --- a/web/app/components/base/icons/src/image/llm/Minimax.module.css +++ b/web/app/components/base/icons/src/image/llm/Minimax.module.css @@ -1,5 +1,5 @@ .wrapper { display: inline-flex; - background: url(~@/app/components/base/icons/assets/image/llm/minimax.png) center center no-repeat; + background: url(app/components/base/icons/assets/image/llm/minimax.png) center center no-repeat; background-size: contain; } diff --git a/web/app/components/base/icons/src/image/llm/MinimaxText.module.css b/web/app/components/base/icons/src/image/llm/MinimaxText.module.css index a63be49e8b..642e63c836 100644 --- a/web/app/components/base/icons/src/image/llm/MinimaxText.module.css +++ b/web/app/components/base/icons/src/image/llm/MinimaxText.module.css @@ -1,5 +1,5 @@ .wrapper { display: inline-flex; - background: url(~@/app/components/base/icons/assets/image/llm/minimax-text.png) center center no-repeat; + background: url(app/components/base/icons/assets/image/llm/minimax-text.png) center center no-repeat; background-size: contain; } diff --git a/web/app/components/base/icons/src/image/llm/Tongyi.module.css b/web/app/components/base/icons/src/image/llm/Tongyi.module.css index 3ca440768c..82e617a8ea 100644 --- a/web/app/components/base/icons/src/image/llm/Tongyi.module.css +++ b/web/app/components/base/icons/src/image/llm/Tongyi.module.css @@ -1,5 +1,5 @@ .wrapper { display: inline-flex; - background: url(~@/app/components/base/icons/assets/image/llm/tongyi.png) center center no-repeat; + background: url(app/components/base/icons/assets/image/llm/tongyi.png) center center no-repeat; background-size: contain; } diff --git a/web/app/components/base/icons/src/image/llm/TongyiText.module.css b/web/app/components/base/icons/src/image/llm/TongyiText.module.css index f713671808..af1a2d2a73 100644 --- a/web/app/components/base/icons/src/image/llm/TongyiText.module.css +++ b/web/app/components/base/icons/src/image/llm/TongyiText.module.css @@ -1,5 +1,5 @@ .wrapper { display: inline-flex; - background: url(~@/app/components/base/icons/assets/image/llm/tongyi-text.png) center center no-repeat; + background: url(app/components/base/icons/assets/image/llm/tongyi-text.png) center center no-repeat; background-size: contain; } diff --git a/web/app/components/base/icons/src/image/llm/TongyiTextCn.module.css b/web/app/components/base/icons/src/image/llm/TongyiTextCn.module.css index d07e6e8bc4..3683f6bf55 100644 --- a/web/app/components/base/icons/src/image/llm/TongyiTextCn.module.css +++ b/web/app/components/base/icons/src/image/llm/TongyiTextCn.module.css @@ -1,5 +1,5 @@ .wrapper { display: inline-flex; - background: url(~@/app/components/base/icons/assets/image/llm/tongyi-text-cn.png) center center no-repeat; + background: url(app/components/base/icons/assets/image/llm/tongyi-text-cn.png) center center no-repeat; background-size: contain; } diff --git a/web/app/components/base/icons/src/image/llm/Wxyy.module.css b/web/app/components/base/icons/src/image/llm/Wxyy.module.css index 44344a495f..0a77d732e8 100644 --- a/web/app/components/base/icons/src/image/llm/Wxyy.module.css +++ b/web/app/components/base/icons/src/image/llm/Wxyy.module.css @@ -1,5 +1,5 @@ .wrapper { display: inline-flex; - background: url(~@/app/components/base/icons/assets/image/llm/wxyy.png) center center no-repeat; + background: url(app/components/base/icons/assets/image/llm/wxyy.png) center center no-repeat; background-size: contain; } diff --git a/web/app/components/base/icons/src/image/llm/WxyyText.module.css b/web/app/components/base/icons/src/image/llm/WxyyText.module.css index 58a0c62047..777868fb55 100644 --- a/web/app/components/base/icons/src/image/llm/WxyyText.module.css +++ b/web/app/components/base/icons/src/image/llm/WxyyText.module.css @@ -1,5 +1,5 @@ .wrapper { display: inline-flex; - background: url(~@/app/components/base/icons/assets/image/llm/wxyy-text.png) center center no-repeat; + background: url(app/components/base/icons/assets/image/llm/wxyy-text.png) center center no-repeat; background-size: contain; } diff --git a/web/app/components/base/icons/src/image/llm/WxyyTextCn.module.css b/web/app/components/base/icons/src/image/llm/WxyyTextCn.module.css index fb5839ab07..9de04ec47b 100644 --- a/web/app/components/base/icons/src/image/llm/WxyyTextCn.module.css +++ b/web/app/components/base/icons/src/image/llm/WxyyTextCn.module.css @@ -1,5 +1,5 @@ .wrapper { display: inline-flex; - background: url(~@/app/components/base/icons/assets/image/llm/wxyy-text-cn.png) center center no-repeat; + background: url(app/components/base/icons/assets/image/llm/wxyy-text-cn.png) center center no-repeat; background-size: contain; } diff --git a/web/app/components/base/svg/style.module.css b/web/app/components/base/svg/style.module.css index 9258fe8ed3..290c16de37 100644 --- a/web/app/components/base/svg/style.module.css +++ b/web/app/components/base/svg/style.module.css @@ -1,11 +1,11 @@ .svgIcon { - background-image: url(~@/app/components/develop/secret-key/assets/svg.svg); + background-image: url(/assets/svg.svg); background-position: center; background-repeat: no-repeat; } .svgIconed { - background-image: url(~@/app/components/develop/secret-key/assets/svged.svg); + background-image: url(/assets/svged.svg); background-position: center; background-repeat: no-repeat; } diff --git a/web/app/components/datasets/documents/style.module.css b/web/app/components/datasets/documents/style.module.css index dd1ced5ad5..483bad6c2a 100644 --- a/web/app/components/datasets/documents/style.module.css +++ b/web/app/components/datasets/documents/style.module.css @@ -54,40 +54,40 @@ } .actionIcon { @apply bg-gray-500; - mask-image: url(~@/assets/action.svg); + mask-image: url(/assets/action.svg); } .pdfIcon { - background-image: url(~@/assets/pdf.svg); + background-image: url(/assets/pdf.svg); } .jsonIcon { - background-image: url(~@/assets/json.svg); + background-image: url(/assets/json.svg); } .htmlIcon { - background-image: url(~@/assets/html.svg); + background-image: url(/assets/html.svg); } .txtIcon { - background-image: url(~@/assets/txt.svg); + background-image: url(/assets/txt.svg); } .markdownIcon { - background-image: url(~@/assets/md.svg); + background-image: url(/assets/md.svg); } .mdIcon { - background-image: url(~@/assets/md.svg); + background-image: url(/assets/md.svg); } .xlsIcon { - background-image: url(~@/assets/xlsx.svg); + background-image: url(/assets/xlsx.svg); } .xlsxIcon { - background-image: url(~@/assets/xlsx.svg); + background-image: url(/assets/xlsx.svg); } .csvIcon { - background-image: url(~@/assets/csv.svg); + background-image: url(/assets/csv.svg); } .docIcon { - background-image: url(~@/assets/doc.svg); + background-image: url(/assets/doc.svg); } .docxIcon { - background-image: url(~@/assets/docx.svg); + background-image: url(/assets/docx.svg); } .statusItemDetail { @apply border-[0.5px] border-components-button-secondary-border inline-flex items-center diff --git a/web/app/components/develop/secret-key/style.module.css b/web/app/components/develop/secret-key/style.module.css index f13161c888..c2a480d1eb 100644 --- a/web/app/components/develop/secret-key/style.module.css +++ b/web/app/components/develop/secret-key/style.module.css @@ -26,7 +26,7 @@ .trashIcon { background-color: transparent; - background-image: url(./assets/trash-gray.svg); + background-image: url(/assets/trash-gray.svg); background-position: center; background-repeat: no-repeat; background-size: 16px 16px; @@ -34,24 +34,24 @@ .trashIcon:hover { background-color: rgba(254, 228, 226, 1); - background-image: url(./assets/trash-red.svg); + background-image: url(/assets/trash-red.svg); background-position: center; background-repeat: no-repeat; background-size: 16px 16px; } .copyIcon { - background-image: url(./assets/copy.svg); + background-image: url(/assets/copy.svg); background-position: center; background-repeat: no-repeat; } .copyIcon:hover { - background-image: url(./assets/copy-hover.svg); + background-image: url(/assets/copy-hover.svg); background-position: center; background-repeat: no-repeat; } .copyIcon.copied { - background-image: url(./assets/copied.svg); + background-image: url(/assets/copied.svg); } diff --git a/web/app/components/explore/item-operation/style.module.css b/web/app/components/explore/item-operation/style.module.css index 7d4a46a840..6c40dc7fd2 100644 --- a/web/app/components/explore/item-operation/style.module.css +++ b/web/app/components/explore/item-operation/style.module.css @@ -15,12 +15,12 @@ .actionIcon { @apply bg-gray-500; - mask-image: url(~@/assets/action.svg); + mask-image: url(/assets/action.svg); } body .btn.open, body .btn:hover { - background: url(~@/assets/action.svg) center center no-repeat transparent; + background: url(/assets/action.svg) center center no-repeat transparent; background-size: 16px 16px; } diff --git a/web/app/components/tools/add-tool-modal/empty.tsx b/web/app/components/tools/add-tool-modal/empty.tsx index 540d263e99..f7caa00856 100644 --- a/web/app/components/tools/add-tool-modal/empty.tsx +++ b/web/app/components/tools/add-tool-modal/empty.tsx @@ -7,7 +7,7 @@ const Empty = () => { return (