Fixing config and limiting to websockets