fix: gitcode login url
This commit is contained in:
@@ -751,7 +751,7 @@ onBeforeUnmount(() => {
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
const orgin = 'https://test.gitcode.net';
|
||||
const orgin = 'https://gitcode.com';
|
||||
window.addEventListener('message', async (event) => {
|
||||
if (event.origin !== orgin) {
|
||||
return; // 安全起见,检查消息来源
|
||||
@@ -784,7 +784,7 @@ onUnmounted(() => {
|
||||
:class="['login-modal', formType === 'login' ? 'login-modal-l' : 'login-modal-r']"
|
||||
>
|
||||
<template #default>
|
||||
<iframe src="https://test.gitcode.net/login/?be_nested=1"></iframe>
|
||||
<iframe src="https://gitcode.com/login/?be_nested=1"></iframe>
|
||||
</template>
|
||||
</Modal>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user