Skip to content

Commit

Permalink
tech: API URL now depends on environment and its local port is 3001
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnoHolo committed Nov 15, 2020
1 parent 0a7225e commit e27e881
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
REACT_APP_API_PATH=
REACT_APP_BACK_BASE_URL=
REACT_APP_API_PATH=/api/v1
REACT_APP_BACK_BASE_URL=http://localhost:3001
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This project was bootstrapped with [Create React App](https://github.com/faceboo

# Run back server

- App needs api running: [moss back server url](https://github.com/octo-wam/moss-back)
- App needs API running: [moss back server url](https://github.com/octo-wam/moss-back) (update `.env` with accurate REACT_APP_API_PATH and REACT_APP_BACK_BASE_URL)

## Available Scripts

Expand Down

0 comments on commit e27e881

Please sign in to comment.