Skip to content

Commit

Permalink
fix: updates Globus webapp links to use app. subdomain
Browse files Browse the repository at this point in the history
- /app/* paths have not been supported by the Globus web application for some time.
  • Loading branch information
jbottigliero committed Apr 20, 2023
1 parent 4cd337d commit fc240c2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion globus_portal_framework/gtransfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def get_helper_page_url(callback_url, cancel_url='', folder_limit=5,
params['cancelurl'] = cancel_url
return requests.Request(
'GET',
'https://www.globus.org/app/browse-endpoint',
'https://app.globus.org/file-manager',
params=params
).prepare().url

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="alert alert-warning" role="alert">
<p>You do not have access to view this data.</p>
{% if fields.globus_group %}
<a class="font-weight-bold" href="https://www.globus.org/app/groups/{{fields.globus_group}}/" target="_blank">
<a class="font-weight-bold" href="https://app.globus.org/groups/{{fields.globus_group}}/" target="_blank">
You can join the ramses Group for access here.
</a>
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="alert alert-warning" role="alert">
<p>You do not have access to view this data.</p>
{% if globus_group %}
<a class="font-weight-bold" href="https://www.globus.org/app/groups/{{globus_group}}/" target="_blank">
<a class="font-weight-bold" href="https://app.globus.org/groups/{{globus_group}}/" target="_blank">
You can join this group for access here.
</a>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion globus_portal_framework/views/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def detail(request, index, subject):
@csrf_exempt
def detail_transfer(request, index, subject):
context = gsearch.get_subject(index, subject, request.user)
task_url = 'https://www.globus.org/app/activity/{}/overview'
task_url = 'https://app.globus.org/activity/{}/overview'
if request.user.is_authenticated:
try:
# Hacky, we need to formalize remote file manifests
Expand Down

0 comments on commit fc240c2

Please sign in to comment.