Closed kavanagh closed 10 years ago
The routes to the book pages are hard-coded into the javascript that displays the search results.
This means when the site's path changes the JS needs to change too.
Make the routes configurable depending on the base URL of the site.
Same goes for the URL to the API endpoint.
The routes to the book pages are hard-coded into the javascript that displays the search results.
This means when the site's path changes the JS needs to change too.
Make the routes configurable depending on the base URL of the site.