Removed double slashes from endpoint

The result from endpoint was //searchapi/?etcetc