Mercurial > gemma
view 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 |
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}' }*/ });