openRepoPortalV2打包命名修改

This commit is contained in:
fmk1023
2025-11-28 14:57:04 +08:00
parent 0ab4649909
commit d7dfa9bf8d
13 changed files with 17 additions and 17 deletions

View File

@@ -107,7 +107,7 @@ onMounted(() => {
/** mobile暂定全部重定向为首页 */
addEventListener('notice', toNotice);
window.addEventListener('message', (event) => {
let VITE_HOST = window.location.origin + '/openRepoPortal';
let VITE_HOST = window.location.origin + '/openRepoPortalV2';
// if (event.origin === (import.meta as any).env.VITE_HOST) {
if (event.origin === VITE_HOST) {
if (event.data.type === 'success') {