Skip to content

Commit

Permalink
Tiny fix for serving unbundled resources from CDN as well
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorhughes committed Mar 23, 2016
1 parent 367ce30 commit 6c10443
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/optimizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ function optimizeServer(server, optimizedPackagePath, opt_options) {
var staticFilename = path.join(staticPrefix, '__resource__', relativeFilename);

var file = new VersionedFile(staticFilename);
file.addResourcePath(res.resourcePath);
file.setContent(bodyContentType.body);
addFile(file);
});
Expand Down

0 comments on commit 6c10443

Please sign in to comment.