From 3e4dbc69de98cd1b5721e498228c0897d189e994 Mon Sep 17 00:00:00 2001 From: pranzato Date: Fri, 28 Aug 2020 01:38:40 +0200 Subject: [PATCH] updates backend environment variable --- .env | 2 +- src/App.js | 2 +- src/components/connection.js | 2 +- src/components/exec.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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 {