From bcec3b2390d2489a62e2c4c3dbd05310e52043c2 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sat, 6 Sep 2014 16:36:57 +0200 Subject: [PATCH] cdnurl as gruntConfig value --- Gruntfile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index f8599ef3..25122be9 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -11,7 +11,8 @@ module.exports = function(grunt){ css: 'assets/css', js: 'assets/js', img: 'assets/img', - fonts: 'assets/fonts' + fonts: 'assets/fonts', + cdnurl: 'https://d2jlreog722xe2.cloudfront.net/assets/' } }; @@ -209,7 +210,7 @@ module.exports = function(grunt){ // CDN some assets cdn: { options: { - cdn: 'https://d2jlreog722xe2.cloudfront.net/assets/', + cdn: '<%= config.cdnurl %>', flatten: true }, dist: {