Browse Source

fix(assets): correct schematic diagram access path by removing extra slashes
close #24

sw 1 tháng trước cách đây
mục cha
commit
bf4b558dd4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/API/bodyPosition.ts

+ 1 - 1
src/API/bodyPosition.ts

@@ -8,7 +8,7 @@ import { API_BASE_URL } from './config';
  * @returns
  */
 export function getViewIconUrl(viewIconName: string): string {
-  return `${API_BASE_URL}/pub${viewIconName}`;
+  return `${API_BASE_URL}pub${viewIconName}`;
 }
 /**
  * 得到exposed image的完整URL路径