lib/staticmatic/configuration.rb in staticmatic2-2.1.2 vs lib/staticmatic/configuration.rb in staticmatic2-2.1.3
- old
+ new
@@ -1,16 +1,18 @@
module StaticMatic
class Configuration
+ attr_accessor :preview_server
attr_accessor :preview_server_host
attr_accessor :preview_server_port
attr_accessor :use_extensions_for_page_links
attr_accessor :default_template_engine
attr_accessor :engine_options, :preview_engine_options
attr_accessor :reverse_ext_mappings
def initialize
+ self.preview_server = Rack::Handler::WEBrick
self.preview_server_host = "localhost"
self.preview_server_port = 4000
self.use_extensions_for_page_links = true
self.default_template_engine = 'haml'