đ API Configuration Settings
âšī¸ What is this?
Configure the API base URL to connect to a different server/database. Useful for:
Configure the API base URL to connect to a different server/database. Useful for:
- Connecting to a remote production server
- Testing against staging environments
- Switching between local and cloud databases
Current Configuration
| API Base URL: | Loading... |
| Environment: | Loading... |
| Status: | Loading... |
Set Custom API URL
Quick Actions
Connection Test
â ī¸ Important Notes:
- The remote server must have CORS enabled for your domain
- Session cookies may not work cross-origin (use token auth)
- Always use HTTPS for production servers
- Changes take effect immediately for new requests
Developer Console Commands
You can also use these commands in the browser console:
// Set custom API URL
setApiUrl('https://api.example.com')
// Reset to default
resetApiUrl()
// Get current config
getApiInfo()
// Test a specific endpoint
fetch('/api/risks').then(r => r.json()).then(console.log)