Browse Source

:bug: fix public url

Jeremy Zheng 3 years ago
parent
commit
6775175ab8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dashboard/src/App.tsx

+ 1 - 1
dashboard/src/App.tsx

@@ -21,7 +21,7 @@ function Widget() {
       defaultLocale={DEFAULT_LOCALE}
     >
       <ConfigProvider locale={i18n.antd}>
-        <BrowserRouter basename={process.env.REACT_APP_PUBLIC_URL}>
+        <BrowserRouter basename={process.env.PUBLIC_URL}>
           <Router />
         </BrowserRouter>
       </ConfigProvider>