Skip to content

Commit

Permalink
chore: fix publishToCdn script
Browse files Browse the repository at this point in the history
  • Loading branch information
jwlee1108 committed Oct 20, 2021
1 parent eee8a8b commit c646583
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/chart/scripts/publishToCdn.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function getTOASTCloudContainer(token) {
});
const container = await response.text();

return `${container.trim()}/grid`;
return `${container.trim()}/chart`;
}

async function getTOASTCloudToken() {
Expand Down Expand Up @@ -67,8 +67,6 @@ function publishToCdn(token, localPath, cdnPath) {
},
body: readStream,
});
} else {
publishToCdn(token, `${localPath}/${fileName}`, objectPath);
}
});
}
Expand Down

0 comments on commit c646583

Please sign in to comment.