openRepoPortalV2打包命名修改
This commit is contained in:
@@ -78,7 +78,7 @@ export const injectRouter = (router) => {
|
||||
|
||||
// 上报ref设置
|
||||
// const BASE_URL = (import.meta as any).env.VITE_HOST;
|
||||
const BASE_URL = window.location.origin + '/openRepoPortal';
|
||||
const BASE_URL = window.location.origin + '/openRepoPortalV2';
|
||||
const beforeRef = sessionStorage.getItem('ref');
|
||||
const ref = beforeRef || document.referrer || '';
|
||||
if (!fromHomeWeb.includes(to.name)) {
|
||||
|
||||
Reference in New Issue
Block a user