view client/src/lib/http.js @ 150:44a7e27a0816

Added missing translation for loginerror Loginerror is now translatable
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 02 Jul 2018 12:54:07 +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}'
  }*/
});