less / less.ruby

Less Ruby — now at http://github.com/cowboyd/less.rb
Apache License 2.0
956 stars 69 forks source link

local virtual hosts are considered production environments #191

Open tjlahr opened 12 years ago

tjlahr commented 12 years ago

less.env is defined as "development" for anything served from '127.0.0.1', '0.0.0.0' or 'localhost'. This excludes local virtual hosts which, personally, I develop on quite a bit. I suggest the logic that defines less.env change to accommodate environments that aren't served from those IPs directly.