base url modified

This commit is contained in:
laxmanhalaki 2025-10-14 18:11:01 +05:30
parent 484055311f
commit 4915994247
2 changed files with 3 additions and 3 deletions

View File

@ -47,10 +47,10 @@ const SALESFORCE_CONFIG = {
// Replace with your actual Salesforce Connected App credentials
CLIENT_ID: '3MVG9GBhY6wQjl2sueQtv2NXMm3EuWtEvOQoeKRAzYcgs2.AWhkCPFitVFPYyUkiLRRdIww2fpr48_Inokd3F',
// Backend callback URL that will handle the OAuth callback
BACKEND_BASE_URL: 'https://512acb53a4a4.ngrok-free.app',
BACKEND_BASE_URL: http.getBaseURL,
CALLBACK_PATH: '/api/v1/users/oauth/callback',
// Use login.salesforce.com for production, test.salesforce.com for sandbox
AUTH_BASE_URL: 'https://test.salesforce.com',
AUTH_BASE_URL: 'https://login.salesforce.com',
RESPONSE_TYPE: 'code',
DISPLAY: 'touch', // Optimized for mobile
};

View File

@ -10,7 +10,7 @@ let pendingRequest: any = null;
const http = create({
// baseURL: 'http://192.168.1.17:4000',
// baseURL: 'http://160.187.167.216',
baseURL: 'https://512acb53a4a4.ngrok-free.app',
baseURL: 'https://81243590fe4c.ngrok-free.app',
timeout: 10000,
});