@@ -1 +0,0 @@
-PUBLIC_URL=/my
@@ -0,0 +1,9 @@
+BROWSER=none
+PUBLIC_URL=/my
+HOST=0.0.0.0
+PORT=20080
+
+#REACT_APP_GRPC_HOST=http://127.0.0.1:10012
+REACT_APP_DEFAULT_LOCALE=zh-Hans
+REACT_APP_LANGUAGES=en-US,zh-Hans,zh-Hant
+REACT_APP_API_HOST=https://jeremy.spring.wikipali.org
@@ -5,6 +5,7 @@
/build/
# misc
+.env
.env.local
.env.development.local
.env.test.local
@@ -1,7 +1,6 @@
{
"name": "dashboard",
"version": "0.1.0",
- "homepage": "/my",
"private": true,
"dependencies": {
"@ant-design/charts": "^1.4.2",
@@ -21,7 +21,7 @@ function Widget() {
defaultLocale={DEFAULT_LOCALE}
>
<ConfigProvider locale={i18n.antd}>
- <BrowserRouter basename={process.env.PUBLIC_URL}>
+ <BrowserRouter basename={process.env.REACT_APP_PUBLIC_URL}>
<Router />
</BrowserRouter>
</ConfigProvider>