fix: change baseUrl to kontenhumas.com

This commit is contained in:
Sabda Yagra 2026-01-20 09:22:15 +07:00
parent d11eff8302
commit b6bde7722e
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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");