Fix default API address

This commit is contained in:
Kacper Donat 2020-09-08 14:35:17 +02:00
parent 2f0c0a38f2
commit 3bc6f05a20

View File

@ -7,7 +7,7 @@ import * as user from "./user";
import * as edition from "./edition";
export const axios = Axios.create({
baseURL: process.env.API_BASE_URL || "https://system-praktyk-front.stg.kadet.net/api/",
baseURL: process.env.API_BASE_URL || "https://system-praktyk.stg.kadet.net/api/",
})
axios.interceptors.request.use(config => {