可信代码库-配置文件修复定向URL改为动态获取
This commit is contained in:
@@ -82,7 +82,8 @@ export default (config: any) => {
|
||||
{ hostId, hostType, type }: { hostId: string, hostType: 'js' | 'css' | 'html', type: 'public' | 'asset'; }
|
||||
) {
|
||||
if (type === 'asset') {
|
||||
return env.VITE_STATIC_HOST + '/' + filename;
|
||||
// return env.VITE_STATIC_HOST + '/' + filename;
|
||||
return `/openRepoPortal/${filename}`;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user