prep
This commit is contained in:
parent
ebc2baa13f
commit
bca8b854dd
2 changed files with 13 additions and 6 deletions
|
@ -1,6 +1,15 @@
|
||||||
master
|
master
|
||||||
===
|
===
|
||||||
|
|
||||||
|
# 4.1.4
|
||||||
|
|
||||||
|
* Unify default extensions for all URL processing extensions. #1855
|
||||||
|
* Fix URL regex for `content: ` context of CSS. #1853
|
||||||
|
* Make sure CLI config over-rides `config.rb` order.
|
||||||
|
* Fix relative assets in some contexts. #1842
|
||||||
|
|
||||||
|
# 4.1.3
|
||||||
|
|
||||||
* Expose all top-level config options to CLI (flags now match config. latency -> watcher_latency, etc).
|
* Expose all top-level config options to CLI (flags now match config. latency -> watcher_latency, etc).
|
||||||
* Fix directory indexes with `.htm` and `.xhtml` files. #1821
|
* Fix directory indexes with `.htm` and `.xhtml` files. #1821
|
||||||
|
|
||||||
|
|
|
@ -176,12 +176,10 @@ module Middleman
|
||||||
|
|
||||||
# Use configuration values to set `bind_address` etc. in
|
# Use configuration values to set `bind_address` etc. in
|
||||||
# `server_information`
|
# `server_information`
|
||||||
server_information.use({
|
server_information.use(bind_address: possible_from_cli(:bind_address, app.config),
|
||||||
bind_address: possible_from_cli(:bind_address, app.config),
|
port: possible_from_cli(:port, app.config),
|
||||||
port: possible_from_cli(:port, app.config),
|
server_name: possible_from_cli(:server_name, app.config),
|
||||||
server_name: possible_from_cli(:server_name, app.config),
|
https: possible_from_cli(:https, app.config))
|
||||||
https: possible_from_cli(:https, app.config)
|
|
||||||
})
|
|
||||||
|
|
||||||
app.logger.warn format('== The Middleman uses a different port "%s" then the configured one "%s" because some other server is listening on that port.', server_information.port, configured_port) unless server_information.port == configured_port
|
app.logger.warn format('== The Middleman uses a different port "%s" then the configured one "%s" because some other server is listening on that port.', server_information.port, configured_port) unless server_information.port == configured_port
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue