Skip to content
This repository
Browse code

[minor] Made options.index and options.dot configurable in static plugin

  • Loading branch information...
commit 3d07c616fb88fa787d3d9b767b16fd70cb2d266e 1 parent e44450a
Pavan Kumar Sunkara authored October 23, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  lib/flatiron/plugins/static.js
4  lib/flatiron/plugins/static.js
@@ -43,13 +43,13 @@ exports.attach = function (options) {
43 43
   //
44 44
   // Default overrides
45 45
   //
46  
-  options.index = false;
47  
-  options.dot = false;
48 46
   options.passthrough = true;
49 47
 
50 48
   //
51 49
   // Url for static server
52 50
   //
  51
+  options.index = options.index || false;
  52
+  options.dot = options.dot || false;
53 53
   options.url = options.url || '/';
54 54
 
55 55
   //

0 notes on commit 3d07c61

Please sign in to comment.
Something went wrong with that request. Please try again.