Skip to content
Snippets Groups Projects
Select Git revision
  • 7decdece676eff166e49c2f59b64163c42ccbe3e
  • master default protected
  • Eilerts_branch
  • Karins_branch
  • Mads_branch
5 results

OutputPopUpWindow.class

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;