diff --git a/.env b/.env index 5bf6c064..aaa801fa 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -REACT_APP_GO_SERVER=$GO_SERVER \ No newline at end of file +REACT_APP_BACKEND_SERVER=$BACKEND_SERVER diff --git a/src/App.js b/src/App.js index 19378e1c..57f560eb 100644 --- a/src/App.js +++ b/src/App.js @@ -13,7 +13,7 @@ import { } from "react-router-dom"; -let endpoint = process.env.REACT_APP_GO_SERVER; +let endpoint = process.env.REACT_APP_BACKEND_SERVER; // let endpoint = "http://localhost"; class App extends Component { diff --git a/src/components/connection.js b/src/components/connection.js index 484f3d75..cab8ec79 100644 --- a/src/components/connection.js +++ b/src/components/connection.js @@ -1,6 +1,6 @@ import React from 'react' -let endpoint = process.env.REACT_APP_GO_SERVER; +let endpoint = process.env.REACT_APP_BACKEND_SERVER; // let endpoint = "http://localhost"; class Connection extends React.Component { diff --git a/src/components/exec.js b/src/components/exec.js index b630a559..a6d89b75 100644 --- a/src/components/exec.js +++ b/src/components/exec.js @@ -1,6 +1,6 @@ import React from 'react' -let endpoint = process.env.REACT_APP_GO_SERVER; +let endpoint = process.env.REACT_APP_BACKEND_SERVER; // let endpoint = "http://localhost"; class Exec extends React.Component {