Skip to content
Snippets Groups Projects
Commit 3b9d719e authored by Erik Borgeteien Hansen's avatar Erik Borgeteien Hansen
Browse files

use process.env.vue_app_baseurl

parent 0f00ba47
No related branches found
No related tags found
1 merge request!10Register view tailwind
Pipeline #175875 passed
import axios from "axios";
const API_URL = "http://65.108.62.223:3000/api/";
const API_URL = process.env.VUE_APP_BASEURL;
export function doLogin(loginRequest) {
return axios
.post(process.env.VUE_APP_BASEURL + "login/authentication", loginRequest)
.post(API_URL + "login/authentication", loginRequest)
.then((response) => {
return response.data;
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment