Remove default localhost settings (#8)

* Remove default localhost settings
Replace with deployment settings

* Fix for upload data format

* Fix test data for last commit
This commit is contained in:
John Wu
2021-01-26 17:35:39 -08:00
committed by GitHub
parent fcde299197
commit eccae3f26d
5 changed files with 4 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
import axios from 'axios';
const UPLOAD_ENDPOINT = process.env.REACT_APP_UPLOAD_SERVICE_URL || "http://localhost:8080";
const UPLOAD_ENDPOINT = process.env.REACT_APP_UPLOAD_SERVICE_URL || "https://gw-dev.fiskerdps.com";
export const getCancelToken = () => {
const token = axios.CancelToken;