Fix custom API URL crash
Merge pull request #314 from caitbonnar/custom-api-fix

Fix custom API URL crash