This commit is contained in:
BhagwanSingh 2025-11-30 11:39:41 +05:30
parent bd4a3656e7
commit d23933c517
5 changed files with 3 additions and 1768 deletions

1763
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -24,8 +24,6 @@
"axios": "^1.13.2",
"chalk": "^5.6.2",
"electron-store": "^11.0.2",
"quill": "^2.0.3",
"react-quill-new": "^3.6.0",
"https": "^1.0.0",
"lucide-react": "^0.552.0",
"luxon": "^3.7.2",

View File

@ -12,7 +12,7 @@ const httpsAgent = new https.Agent({
});
const api: AxiosInstance = axios.create({
baseURL: 'http://localhost:3000/api/v1/va', // 🔁 your backend
baseURL: 'https://daniela-nonprofessed-boastfully.ngrok-free.app/api/v1/va', // 🔁 your backend
httpsAgent
// timeout: 10000,
});

View File

@ -68,7 +68,7 @@ export const handleLogin = async (credentials: { email: string, password: string
try {
console.log("➡️ Calling API...");
const response = await axios.post(
'http://localhost:3000/api/v1/va/login',
'https://daniela-nonprofessed-boastfully.ngrok-free.app/api/v1/va/login',
{ userDetails: { ...credentials } },
{ headers: { "ngrok-skip-browser-warning": 69420 }, httpsAgent }
);

View File

@ -532,7 +532,7 @@ const DashboardLayout = () => {
if (!selectedProject?.projectId) return
console.log(selectedProject?.projectId, "SelectedProject ID")
socketRef.current = io("https://quality-friendly-goldfish.ngrok-free.app", {
socketRef.current = io("https://daniela-nonprofessed-boastfully.ngrok-free.app", {
transports: ["websocket"],
secure: true,
rejectUnauthorized: false,