diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-16 01:55:46 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-16 01:55:46 +0300 |
commit | d8413758afd93ea5d2186efef21844624d503d33 (patch) | |
tree | 4039ec254a151a36015e4bb2bdc94d163b5dc49d /src | |
parent | 49a44a5762a2863566267689002834ee88d06abb (diff) | |
download | commercel-ui-d8413758afd93ea5d2186efef21844624d503d33.tar.gz |
build: add production API url
Diffstat (limited to 'src')
-rw-r--r-- | src/requests.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/requests.ts b/src/requests.ts index 406127f..af77d89 100644 --- a/src/requests.ts +++ b/src/requests.ts @@ -1,7 +1,7 @@ import axios from 'axios'; const baseURL = process.env.NODE_ENV === 'production' - ? 'PUT_PRODUCTION_URL_HERE' + ? 'https://commercel-api.herokuapp.com' : 'http://localhost:3030'; const requests = axios.create({ baseURL }); |