fix: change baseUrl to kontenhumas.com
This commit is contained in:
parent
d11eff8302
commit
b6bde7722e
|
|
@ -1,7 +1,7 @@
|
|||
import axios from "axios";
|
||||
|
||||
// Use environment variable for API URL, default to localhost:8080 for local development
|
||||
const baseURL = process.env.NEXT_PUBLIC_API_URL || "http://localhost:8080/api/";
|
||||
const baseURL = process.env.NEXT_PUBLIC_API_URL || "https://kontenhumas.com/api/";
|
||||
|
||||
const axiosBaseInstance = axios.create({
|
||||
baseURL,
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import Cookies from "js-cookie";
|
|||
import { getCsrfToken, login } from "../auth";
|
||||
|
||||
// Use environment variable for API URL, default to localhost:8080 for local development
|
||||
const baseURL = process.env.NEXT_PUBLIC_API_URL || "http://localhost:8080/api/";
|
||||
const baseURL = process.env.NEXT_PUBLIC_API_URL || "https://kontenhumas.com/api/";
|
||||
|
||||
const refreshToken = Cookies.get("refresh_token");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue