fixed bug: made api/search viewable in browser