Skip to content
Snippets Groups Projects
Select Git revision
  • 059773b4333a8c997f54c2ac348f320104034a9b
  • master default protected
2 results

AssetManager.hpp

Blame
  • 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;