From f4e2f4f10c3cad08cbd9bada6acad1ce4ddda39f Mon Sep 17 00:00:00 2001 From: "guangfei.zhao" Date: Thu, 16 Oct 2025 17:25:13 +0800 Subject: [PATCH] fix(routing): correct document-preview route path and update API port Update the document-preview route path to be relative under the chunk route and add port number to the API base URL in environment configuration --- .env | 2 +- src/routes/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index f52850e..e7fdc6e 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ # VITE_API_BASE_URL = http://150.158.121.95 -VITE_API_BASE_URL = http://154.9.253.114 +VITE_API_BASE_URL = http://154.9.253.114:9380 VITE_RSA_PUBLIC_KEY="-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArq9XTUSeYr2+N1h3Afl/z8Dse/2yD0ZGrKwx+EEEcdsBLca9Ynmx3nIB5obmLlSfmskLpBo0UACBmB5rEjBp2Q2f3AG3Hjd4B+gNCG6BDaawuDlgANIhGnaTLrIqWrrcm4EMzJOnAOI1fgzJRsOOUEfaS318Eq9OVO3apEyCCt0lOQK6PuksduOjVxtltDav+guVAA068NrPYmRNabVKRNLJpL8w4D44sfth5RvZ3q9t+6RTArpEtc5sh5ChzvqPOzKGMXW83C95TxmXqpbK6olN4RevSfVjEAgCydH6HN6OhtOQEcnrU97r9H0iZOWwbw3pVrZiUkuRD1R56Wzs2wIDAQAB diff --git a/src/routes/index.tsx b/src/routes/index.tsx index 7aac2e9..d2a051d 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -40,7 +40,7 @@ const AppRoutes = () => { } /> {/* 文档预览页面路由 */} - } /> + } /> {/* 处理未匹配的路由 */}