Skip to content

Commit

Permalink
Fix swagger slash
Browse files Browse the repository at this point in the history
  • Loading branch information
oblodgett committed Feb 28, 2024
1 parent f052ba2 commit e408153
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cdk/amplify-production-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ export class AmplifyProductionStack extends cdk.Stack {
{ source: '/jbrowse/<*>', target: 'https://prod-alb.alliancegenome.org/jbrowse/<*>', status: amplify.RedirectStatus.REWRITE },
{ source: '/apollo/<*>', target: 'https://prod-alb.alliancegenome.org/apollo/<*>', status: amplify.RedirectStatus.REWRITE },

{ source: '/alliancemine', target: 'https://production-alliancemine.alliancegenome.org/alliancemine/', status: amplify.RedirectStatus.REWRITE },
{ source: '/alliancemine', target: 'https://www.alliancegenome.org/alliancemine/', status: amplify.RedirectStatus.PERMANENT_REDIRECT },
{ source: '/alliancemine/', target: 'https://production-alliancemine.alliancegenome.org/alliancemine/', status: amplify.RedirectStatus.REWRITE },
{ source: '/alliancemine/<*>', target: 'https://production-alliancemine.alliancegenome.org/alliancemine/<*>', status: amplify.RedirectStatus.REWRITE },
{ source: '/bluegenes', target: 'https://production-alliancemine.alliancegenome.org:444/bluegenes/alliancemine', status: amplify.RedirectStatus.REWRITE },
{ source: '/bluegenes', target: 'https://www.alliancegenome.org/bluegenes/', status: amplify.RedirectStatus.PERMANENT_REDIRECT },
{ source: '/bluegenes/', target: 'https://production-alliancemine.alliancegenome.org:444/bluegenes/alliancemine', status: amplify.RedirectStatus.REWRITE },
{ source: '/bluegenes/<*>', target: 'https://production-alliancemine.alliancegenome.org:444/bluegenes/<*>', status: amplify.RedirectStatus.REWRITE },

{ source: '/swagger-ui', target: 'https://prod-alb.alliancegenome.org/swagger-ui/', status: amplify.RedirectStatus.REWRITE },
{ source: '/swagger-ui', target: 'https://www.alliancegenome.org/swagger-ui/', status: amplify.RedirectStatus.PERMANENT_REDIRECT },
{ source: '/swagger-ui/', target: 'https://prod-alb.alliancegenome.org/swagger-ui/', status: amplify.RedirectStatus.REWRITE },
{ source: '/swagger-ui/<*>', target: 'https://prod-alb.alliancegenome.org/swagger-ui/<*>', status: amplify.RedirectStatus.REWRITE },
{ source: '/openapi', target: 'https://prod-alb.alliancegenome.org/openapi', status: amplify.RedirectStatus.REWRITE },
Expand Down

0 comments on commit e408153

Please sign in to comment.