I'm going to asume that you're using Windows, otherwise, please tell us.
You need just to edit the config.json file in order to set your preferences. Its in the "%appdata%\Leap Motion" folder.
{
"configuration": {
"images_mode": 2,
"robust_mode_enabled": false
}
}
Paste this in the file, save and restart:
{
"configuration": {
"images_mode": 2,
"robust_mode_enabled": false,
"websockets_allow_remote": true,
"websockets_enabled": true
}
}