From 6941547024cbd642f57e159811fe6f61a001280e Mon Sep 17 00:00:00 2001 From: baol Date: Sun, 5 Nov 2023 14:39:42 +0800 Subject: [PATCH] change basename --- package.json | 2 +- public/index.html | 2 +- src/App.js | 1 - src/index.js | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index a121a12..9d699e3 100644 --- a/package.json +++ b/package.json @@ -55,5 +55,5 @@ "last 1 safari version" ] }, - "homepage": "http://analysis.tpdc.ac.cn/show" + "homepage": "/show" } diff --git a/public/index.html b/public/index.html index aa069f2..9c5135d 100644 --- a/public/index.html +++ b/public/index.html @@ -24,7 +24,7 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> - React App + 时空三极环境大数据平台 diff --git a/src/App.js b/src/App.js index 4662e65..7a7cd57 100644 --- a/src/App.js +++ b/src/App.js @@ -23,7 +23,6 @@ function App() { path="map/climateReconDataAssim" element={} > - } /> ); } diff --git a/src/index.js b/src/index.js index bbfbd48..6072489 100644 --- a/src/index.js +++ b/src/index.js @@ -11,7 +11,7 @@ const root = ReactDOM.createRoot(document.getElementById("root")); root.render( // - +