view client/src/lib/http.js @ 400:cb233a5a2ecd

fix: Fixed country validation on submit Fixed wrong validation behaviour.
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 14 Aug 2018 14:21: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}'
  }*/
});