Skip to content

Commit

Permalink
cdn upload from docs/, not bundle/
Browse files Browse the repository at this point in the history
  • Loading branch information
longouyang committed Oct 18, 2016
1 parent b88fa7e commit c98c461
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/cdnUpload
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ var upload = function(params) {

upload({
Key: 'webppl-editor-' + hash + '.js',
Body: getFile('bundle/webppl-editor.js'),
Body: getFile('docs/webppl-editor.js'),
ContentType: 'application/javascript'
});

upload({
Key: 'webppl-editor-' + hash + '.css',
Body: getFile('bundle/webppl-editor.css'),
Body: getFile('docs/webppl-editor.css'),
ContentType: 'text/css'
});

Expand All @@ -82,13 +82,13 @@ upload({
if (tag !== '') {
upload({
Key: 'webppl-editor-' + tag + '.js',
Body: getFile('bundle/webppl-editor.js'),
Body: getFile('docs/webppl-editor.js'),
ContentType: 'application/javascript'
});

upload({
Key: 'webppl-editor-' + tag + '.css',
Body: getFile('bundle/webppl-editor.css'),
Body: getFile('docs/webppl-editor.css'),
ContentType: 'text/css'
});

Expand Down

0 comments on commit c98c461

Please sign in to comment.