Skip to content

Commit

Permalink
Merge pull request #90 from populationgenomics/ci-redirect
Browse files Browse the repository at this point in the history
Fix CI links
  • Loading branch information
vladsavelyev authored Mar 14, 2021
2 parents 182dd85 + af40296 commit d65e318
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 9 additions & 0 deletions ci/ci/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@
routes = web.RouteTableDef()


@routes.get('')
@routes.get('/')
@monitor_endpoint
@web_authenticated_developers_only()
async def index(request, userdata): # pylint: disable=unused-argument
# Redirect to /batches.
return web.HTTPFound(deploy_config.external_url('ci', '/batches'))


@routes.get('/batches')
@monitor_endpoint
@web_authenticated_developers_only()
Expand Down
4 changes: 0 additions & 4 deletions web_common/web_common/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@
<div class="header-dropdown">
<div class="header-dropdown-item-margin">
<a href="{{ ci_base_url }}" class="header-dropdown-link">CI</a>
<div class="header-dropdown-menu">
<div class="ci-caret header-dropdown-menu-caret"></div>
<a class="header-dropdown-menu-link" href="{{ ci_base_url }}/me">Me</a>
</div>
</div>
</div>
{% endif %}
Expand Down

0 comments on commit d65e318

Please sign in to comment.