Select Git revision
-
Andrea Magnussen authored
Resolve "Add comments to all files" Closes #67 See merge request !70
Andrea Magnussen authoredResolve "Add comments to all files" Closes #67 See merge request !70
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
APIkit.js 473 B
import axios from "axios";
/**
* An instance of axios which is used everytime a network request is needed.
* @baseURL where the request should be sent to.
* @timeout how long the system will try to perform the request.
* @headers what type of data is accepted.
*
* @return the instance.
*/
let APIKit = axios.create({
baseURL: "http://192.168.10.176:5000",
timeout: 60000,
headers: { "Content-Type": "multipart/form-data" },
});
export default APIKit;