import { app } from "electron"; const env = process.env; const PLATFORM_PORT = env.PLATFORM_PORT || 8760; const PLATFORM_IP = env.PLATFORM_IP || 'http://127.0.0.1'; const BUSINESS_PORT = env.BUSINESS_PORT || 3000; const BUSINESS_IP = env.BUSINESS_IP || 'http://127.0.0.1'; export const config = { PLATFORM_URL: `${PLATFORM_IP}:${PLATFORM_PORT}`, BUSINESS_URL: `${BUSINESS_IP}:${BUSINESS_PORT}`, BUSINESS_PREFIX: '/api', configPath: app.getPath('userData') }