This commit is contained in:
BhagwanSingh 2025-11-15 19:05:55 +05:30
parent be819cd1bb
commit 51b47beba9
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ import chalk from "chalk";
const TOKEN_KEY = 'ACCESS_TOKEN'; const TOKEN_KEY = 'ACCESS_TOKEN';
const api: AxiosInstance = axios.create({ const api: AxiosInstance = axios.create({
baseURL: 'https://wired-terminally-muskrat.ngrok-free.app/api/v1/va', // 🔁 your backend baseURL: 'https://dreadingly-unfighting-pandora.ngrok-free.dev/api/v1/va', // 🔁 your backend
// timeout: 10000, // timeout: 10000,
}); });

View File

@ -75,11 +75,11 @@ export const registerIPCHandlers = (mainWindow: BrowserWindow) => {
ipcMain.handle("get-project-list", async () => { ipcMain.handle("get-project-list", async () => {
// console.log("📡 get-project-list called"); console.log("📡 get-project-list called");
try { try {
const res = await api.get("/list/projects"); const res = await api.get("/list/projects");
// console.log(" API /list/project response:", res); console.log(" API /list/project response:", res);
// Return only serializable data // Return only serializable data
return JSON.parse(JSON.stringify(res)); return JSON.parse(JSON.stringify(res));