Commit 6ffbf171 authored by Riri Novita's avatar Riri Novita

y

parent 6b2bfa19
// contents of .env // contents of .env
REACT_APP_URL_MAIN_BE=https://tia.eksad.com/tia-reporting-staging REACT_APP_URL_MAIN_BE=https://tia.eksad.com/tia-reporting-staging
REACT_APP_URL_MAIN_FE=http://localhost:8080/web-staging/ REACT_APP_ENV_URL_MAIN_FE=http://localhost:8080/web-staging/
{ {
"name": "my-app", "name": "my-app",
"version": "0.1.0", "version": "0.1.0",
"homepage": "${REACT_APP_URL_MAIN_FE}", "homepage": "${REACT_APP_ENV_URL_MAIN_FE}",
"private": true, "private": true,
"dependencies": { "dependencies": {
"@date-io/date-fns": "^1.3.13", "@date-io/date-fns": "^1.3.13",
......
...@@ -21,7 +21,7 @@ import MaintenanceMode from "../container/GeneralSetting/MaintenanceMode"; ...@@ -21,7 +21,7 @@ import MaintenanceMode from "../container/GeneralSetting/MaintenanceMode";
export default function BasicExample() { export default function BasicExample() {
return ( return (
<Router basename={process.env.REACT_APP_URL_MAIN_FE}> <Router basename={process.env.REACT_APP_ENV_URL_MAIN_FE}>
<Switch> <Switch>
<Route exact path="/"> <Route exact path="/">
<Redirect <Redirect
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment