Skip to content

Commit

Permalink
Merge pull request #753 from ImageMarkup/isic-157-canonicalize-links
Browse files Browse the repository at this point in the history
Canonicalize ISIC links
  • Loading branch information
danlamanna committed Aug 23, 2023
2 parents 285ebcc + 921902b commit 20d0e88
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion isic/core/templates/core/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
{% if SANDBOX_BANNER %}
<div class="fixed-banner">
This is a testing sandbox for the ISIC Archive.
The ISIC Archive is at <a href="https://isic-archive.com">https://isic-archive.com</a>.
The ISIC Archive is at <a href="https://www.isic-archive.com/">https://isic-archive.com</a>.
</div>
{% endif %}

Expand Down
4 changes: 2 additions & 2 deletions isic/core/templates/core/partials/nav_elements.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<li><a target="blank" href="https://isic-archive.com">ISIC Home <i class="ri-external-link-line"></i></a></li>
<li><a target="blank" href="https://www.isic-archive.com/#!/topWithHeader/onlyHeaderTop/gallery">Gallery <i class="ri-external-link-line"></i></a></li>
<li><a target="blank" href="https://www.isic-archive.com/">ISIC Home <i class="ri-external-link-line"></i></a></li>
<li><a target="blank" href="https://gallery.isic-archive.com/">Gallery <i class="ri-external-link-line"></i></a></li>
{% if request.user.is_staff %}
<li tabindex="0">
<a>
Expand Down
2 changes: 1 addition & 1 deletion isic/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def mutate_configuration(configuration: ComposedConfiguration) -> None:

ISIC_ELASTICSEARCH_URI = values.SecretValue()
ISIC_ELASTICSEARCH_INDEX = "isic"
ISIC_GUI_URL = "https://www.isic-archive.com"
ISIC_GUI_URL = "https://www.isic-archive.com/"
ACCOUNT_EMAIL_CONFIRMATION_ANONYMOUS_REDIRECT_URL = ISIC_GUI_URL
ACCOUNT_EMAIL_CONFIRMATION_AUTHENTICATED_REDIRECT_URL = ISIC_GUI_URL
ISIC_DATACITE_API_URL = values.Value("https://api.test.datacite.org")
Expand Down

0 comments on commit 20d0e88

Please sign in to comment.