comparison client/src/lib/http.js @ 13:88d0d60924cf

Move vuejs app into subdir `client` Using a subdirectory for the web application keeps more structure in the repo.
author Bernhard Reiter <bernhard@intevation.de>
date Wed, 20 Jun 2018 17:02:06 +0200
parents src/lib/http.js@7c1bde663c8e
children
comparison
equal deleted inserted replaced
12:000adddf74c8 13:88d0d60924cf
1 import axios from "axios";
2
3 export const HTTP = axios.create({
4 baseURL: process.env.VUE_APP_API_URL || "/api"
5 /* headers: {
6 Authorization: 'Bearer {token}'
7 }*/
8 });