Add debug logging
This commit is contained in:
@@ -143,6 +143,10 @@ const apiUrl = import.meta.env.PROD
|
|||||||
? "/"
|
? "/"
|
||||||
: `http://${getConfig().API_HOST}:${getConfig().API_PORT}`;
|
: `http://${getConfig().API_HOST}:${getConfig().API_PORT}`;
|
||||||
|
|
||||||
|
console.log(apiUrl)
|
||||||
|
console.log(import.meta.env.PROD)
|
||||||
|
console.log(`http://${getConfig().API_HOST}:${getConfig().API_PORT}`)
|
||||||
|
|
||||||
const axiosInstance = axios.create({
|
const axiosInstance = axios.create({
|
||||||
baseURL: apiUrl,
|
baseURL: apiUrl,
|
||||||
headers: {
|
headers: {
|
||||||
|
|||||||
Reference in New Issue
Block a user