Remove static serving of non-Middleman folders
This commit is contained in:
parent
1b6af9a4c1
commit
8bc2fddb9d
4 changed files with 2 additions and 10 deletions
|
@ -58,9 +58,7 @@ module Middleman::Cli
|
|||
|
||||
if !ENV['MM_ROOT']
|
||||
puts '== Could not find a Middleman project config.rb'
|
||||
puts '== Treating directory as a static site to be served'
|
||||
ENV['MM_ROOT'] = Dir.pwd
|
||||
ENV['MM_SOURCE'] = ''
|
||||
exit
|
||||
end
|
||||
|
||||
params = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue