Commit 5243c53c authored by carlosribas's avatar carlosribas
Browse files

Remove port

parent 74097a52
...@@ -418,7 +418,7 @@ limitations under the License. ...@@ -418,7 +418,7 @@ limitations under the License.
search='{"urs": "{{ context.upi }}"}' search='{"urs": "{{ context.upi }}"}'
customStyle='{"fixCss": "true", "titleColor": "#BF8E3E"}' customStyle='{"fixCss": "true", "titleColor": "#BF8E3E"}'
/> />
{% if request.get_host == 'test.rnacentral.org' or request.get_host == 'localhost:8000' %} {% if request.get_host == 'test.rnacentral.org' or request.get_host == 'localhost' %}
<script type="text/javascript" src="{% static "r2dt-web/dist/r2dt-web.js" %}"></script> <script type="text/javascript" src="{% static "r2dt-web/dist/r2dt-web.js" %}"></script>
{% else %} {% else %}
<script type="text/javascript" src="https://rnacentral.github.io/r2dt-web/dist/r2dt-web.js"></script> <script type="text/javascript" src="https://rnacentral.github.io/r2dt-web/dist/r2dt-web.js"></script>
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
"trackingID": "UA-51212613-1" "trackingID": "UA-51212613-1"
}' }'
/> />
{% if request.get_host == 'test.rnacentral.org' or request.get_host == 'localhost:8000' %} {% if request.get_host == 'test.rnacentral.org' or request.get_host == 'localhost' %}
<script type="text/javascript" src="{% static "rnacentral-sequence-search-embed/dist/RNAcentral-sequence-search.js" %}"></script> <script type="text/javascript" src="{% static "rnacentral-sequence-search-embed/dist/RNAcentral-sequence-search.js" %}"></script>
{% else %} {% else %}
<script type="text/javascript" src="https://rnacentral.github.io/rnacentral-sequence-search-embed/dist/RNAcentral-sequence-search.js"></script> <script type="text/javascript" src="https://rnacentral.github.io/rnacentral-sequence-search-embed/dist/RNAcentral-sequence-search.js"></script>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment