可信代码库-配置文件修复定向URL改为动态获取
This commit is contained in:
@@ -77,7 +77,8 @@ export const injectRouter = (router) => {
|
||||
}
|
||||
|
||||
// 上报ref设置
|
||||
const BASE_URL = (import.meta as any).env.VITE_HOST;
|
||||
// const BASE_URL = (import.meta as any).env.VITE_HOST;
|
||||
const BASE_URL = window.location.origin + '/openRepoPortal';
|
||||
const beforeRef = sessionStorage.getItem('ref');
|
||||
const ref = beforeRef || document.referrer || '';
|
||||
if (!fromHomeWeb.includes(to.name)) {
|
||||
|
||||
Reference in New Issue
Block a user