view client/src/lib/http.js @ 515:ef7f56d326ae

fix: gemma configuration added to .hgignore In order to prevent accidentally committing gemma.toml it was added to .hgignore
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 27 Aug 2018 11:56:43 +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}'
  }*/
});