Skip to content

Commit

Permalink
Merge pull request #25 from MoTrPAC/24_JZ_CDN_Migration
Browse files Browse the repository at this point in the history
Connects to #24. CDN migration.
  • Loading branch information
jimmyzhen authored Sep 17, 2024
2 parents 163ced8 + 7e4b6c5 commit ccfdddc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/features/analysis/analysis.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ function Analysis({
// for a particular experiment
function renderForestPlot(tissue) {
if (inputFetchPayload && inputFetchPayload[tissue] && inputFetchPayload[tissue].data) {
const plot = `https://cdn-data-assets.extrameta.org/plots/${tissue}/${geneSymbol.toUpperCase()}.png`;
const plot = `https://ds415vxwhii54.cloudfront.net/plots/${tissue}/${geneSymbol.toUpperCase()}.png`;

return (
<div className="plot-container">
Expand Down
8 changes: 4 additions & 4 deletions src/features/analysis/analysisActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,16 @@ function fetchAnalysisInput(geneSymbol) {
return axios
.all([
axios.get(
`https://cdn-data-assets.extrameta.org/input/acute_blood/${geneSymbol.toUpperCase()}.json`
`https://ds415vxwhii54.cloudfront.net/input/acute_blood/${geneSymbol.toUpperCase()}.json`
).catch(useNull),
axios.get(
`https://cdn-data-assets.extrameta.org/input/acute_muscle/${geneSymbol.toUpperCase()}.json`
`https://ds415vxwhii54.cloudfront.net/input/acute_muscle/${geneSymbol.toUpperCase()}.json`
).catch(useNull),
axios.get(
`https://cdn-data-assets.extrameta.org/input/longterm_blood/${geneSymbol.toUpperCase()}.json`
`https://ds415vxwhii54.cloudfront.net/input/longterm_blood/${geneSymbol.toUpperCase()}.json`
).catch(useNull),
axios.get(
`https://cdn-data-assets.extrameta.org/input/longterm_muscle/${geneSymbol.toUpperCase()}.json`
`https://ds415vxwhii54.cloudfront.net/input/longterm_muscle/${geneSymbol.toUpperCase()}.json`
).catch(useNull),
])
.then(
Expand Down

0 comments on commit ccfdddc

Please sign in to comment.