view client/src/lib/http.js @ 285:8e22d1f16f81 usermanagement

refactor: better variable naming In order to achieve more consistent style all boolean getter functions were renamed according JS style and is-prefixed. Sidebar collapsed renamed to isCollapsed.
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 31 Jul 2018 09:36:15 +0200
parents 88d0d60924cf
children
line wrap: on
line source

import axios from "axios";

export const HTTP = axios.create({
  baseURL: process.env.VUE_APP_API_URL || "/api"
  /* headers: {
    Authorization: 'Bearer {token}'
  }*/
});