Skip to content

Commit

Permalink
updates backend environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
pranzato committed Aug 27, 2020
1 parent caf0533 commit 3e4dbc6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
REACT_APP_GO_SERVER=$GO_SERVER
REACT_APP_BACKEND_SERVER=$BACKEND_SERVER
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/components/connection.js
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/components/exec.js
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit 3e4dbc6

Please sign in to comment.