Skip to content

Commit

Permalink
Merge pull request #1270 from alliance-genome/add_jbrowse2_cdk_to_stage
Browse files Browse the repository at this point in the history
fair chance I got the proxy settings for jbrowse2 right
  • Loading branch information
oblodgett authored Feb 28, 2024
2 parents 4de8954 + cb8b72e commit d34bee4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cdk/amplify-stage-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ export class AmplifyStageStack extends cdk.Stack {

const stage_paths = [
{ source: '/api/<*>', target: 'https://stage-api.alliancegenome.org/api/<*>', status: amplify.RedirectStatus.REWRITE },
{ source: '/jbrowse2', target: 'https://stage.alliancegenome.org/jbrowse2/', status: amplify.RedirectStatus.PERMANENT_REDIRECT },
{ source: '/jbrowse2/', target: 'https://stage.dgaayxgqoarxf.amplifyapp.com/', status: amplify.RedirectStatus.REWRITE },
{ source: '/jbrowse2/<*>', target: 'https://stage.dgaayxgqoarxf.amplifyapp.com/<*>', status: amplify.RedirectStatus.REWRITE },
{ source: '/jbrowse/worms/protein', target: 'https://stage.alliancegenome.org/jbrowse/worms/protein/', status: amplify.RedirectStatus.PERMANENT_REDIRECT },
{ source: '/jbrowse/worms/protein/', target: 'https://staging.djgvd7iswt7yy.amplifyapp.com/', status: amplify.RedirectStatus.REWRITE },
{ source: '/jbrowse/worms/protein/<*>', target: 'https://staging.djgvd7iswt7yy.amplifyapp.com/<*>', status: amplify.RedirectStatus.REWRITE },
Expand Down

0 comments on commit d34bee4

Please sign in to comment.