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

y

parent 6b2bfa19
// contents of .env
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",
"version": "0.1.0",
"homepage": "${REACT_APP_URL_MAIN_FE}",
"homepage": "${REACT_APP_ENV_URL_MAIN_FE}",
"private": true,
"dependencies": {
"@date-io/date-fns": "^1.3.13",
......
......@@ -21,7 +21,7 @@ import MaintenanceMode from "../container/GeneralSetting/MaintenanceMode";
export default function BasicExample() {
return (
<Router basename={process.env.REACT_APP_URL_MAIN_FE}>
<Router basename={process.env.REACT_APP_ENV_URL_MAIN_FE}>
<Switch>
<Route exact path="/">
<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