diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-18 01:21:41 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-18 01:21:41 +0300 |
commit | 5ac1a56a157dc116fd61712ac47c29e6d02f4c0c (patch) | |
tree | f227744eff222ca9836739a5b640a249dcd2c9ab /src/requests.ts | |
parent | 60b6d39562012ef1e330d4c578ecd671de131b94 (diff) | |
download | commercel-ui-5ac1a56a157dc116fd61712ac47c29e6d02f4c0c.tar.gz |
feat: add print button
Diffstat (limited to 'src/requests.ts')
-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 af77d89..16570cc 100644 --- a/src/requests.ts +++ b/src/requests.ts @@ -1,6 +1,6 @@ import axios from 'axios'; -const baseURL = process.env.NODE_ENV === 'production' +export const baseURL = process.env.NODE_ENV === 'production' ? 'https://commercel-api.herokuapp.com' : 'http://localhost:3030'; |