Permalink
Browse files

[server] cdn: use container option

  • Loading branch information...
1 parent 58e140b commit 888ba38493370afebeeadef934e6ca0576ac47bc @indutny committed Jun 28, 2011
Showing with 2 additions and 0 deletions.
  1. +1 −0 config.json.sample
  2. +1 −0 lib/slides/server.js
View
1 config.json.sample
@@ -7,6 +7,7 @@
"redis": {
}
},
+ "cdnContainer": "io-slides-cdn-sample",
"cloudfiles":{
"username": "...",
"apiKey": "..."
View
1 lib/slides/server.js
@@ -62,6 +62,7 @@ var Server = server.Server = function Server(options) {
cdnMiddleware = cdn({
debug: true,
root: __dirname + '/../../public',
+ container: options.cdnContainer,
cloudfiles: {
auth: options.cloudfiles
}

0 comments on commit 888ba38

Please sign in to comment.