hound-search / hound

Lightning fast code searching made easy
MIT License
5.67k stars 577 forks source link

Hardcoded urls paths #171

Open rudineirk opened 8 years ago

rudineirk commented 8 years ago

I was trying to use hound under /hound/ uri on my git server, but I coudn't do it because of the urls in javascript.

All javascript urls are hardcoded like /api/v1/search. This makes usage under a different url path almost impossible.

If possible, it would be good to have relative urls or configurable url namespaces on build.

mikepurvis commented 7 years ago

I would love to have this changed too. Looks like it isn't actually that many locations in the code that it gets set:

https://github.com/etsy/hound/search?q=api%2Fv1

Probably wouldn't be super hard to have a cfg entry for the server path.