Skip to content

Commit

Permalink
Merge pull request #3038 from JLorne/Replace-hardcoded-url-in-footer
Browse files Browse the repository at this point in the history
Remove hardcoded readthedocs.org URL
  • Loading branch information
ericholscher committed Aug 10, 2017
2 parents ce2a853 + 4db1545 commit 64b4ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readthedocs/restapi/templates/restapi/footer.html
Expand Up @@ -101,7 +101,7 @@
<dt>Search</dt>
<dd>
<div style="padding: 6px;">
<form id="flyout-search-form" class="wy-form" target="_blank" action="https://readthedocs.org{% url 'elastic_project_search' project.slug %}" method="get">
<form id="flyout-search-form" class="wy-form" target="_blank" action="//{{ settings.PRODUCTION_DOMAIN }}{% url 'elastic_project_search' project.slug %}" method="get">
<input type="text" name="q" placeholder="Search docs">
</form>
</div>
Expand Down

0 comments on commit 64b4ec3

Please sign in to comment.