diff --git a/deployment/docker/datamate/backend.conf b/deployment/docker/datamate/backend.conf index a687944..d8d2d3b 100644 --- a/deployment/docker/datamate/backend.conf +++ b/deployment/docker/datamate/backend.conf @@ -5,7 +5,7 @@ server { access_log /var/log/datamate/frontend/access.log main; error_log /var/log/datamate/frontend/error.log notice; - client_max_body_size 1024M; + client_max_body_size 0; add_header Set-Cookie "NEXT_LOCALE=zh"; diff --git a/frontend/src/pages/ContentGeneration/ContentGenerationPage.tsx b/frontend/src/pages/ContentGeneration/ContentGenerationPage.tsx index 0e74ee5..888dc64 100644 --- a/frontend/src/pages/ContentGeneration/ContentGenerationPage.tsx +++ b/frontend/src/pages/ContentGeneration/ContentGenerationPage.tsx @@ -3,7 +3,9 @@ * 通过 iframe 加载外部页面 */ export default function ContentGenerationPage() { - const iframeUrl = "http://192.168.0.8:3000"; + const iframeUrl = "/api#/meeting"; + + window.localStorage.setItem("geeker-user", '{"token":"123","userInfo":{"name":"xteam"},"loginFrom":null,"loginData":null}'); return (
@@ -16,6 +18,11 @@ export default function ContentGenerationPage() { className="w-full h-full border-0" title="内容生成" sandbox="allow-same-origin allow-scripts allow-popups allow-forms allow-downloads" + style={{marginLeft: "-220px", + marginTop: "-66px", + width: "calc(100% + 233px)", + height: "calc(100% + 108px)" + }} />