adding deprecation setting
This commit is contained in:
parent
30e655fd6c
commit
969779a60d
1 changed files with 2 additions and 0 deletions
|
|
@ -16,6 +16,8 @@ Diaspora::Application.configure do
|
||||||
|
|
||||||
# Specifies the header that your server uses for sending files
|
# Specifies the header that your server uses for sending files
|
||||||
config.action_dispatch.x_sendfile_header = "X-Sendfile"
|
config.action_dispatch.x_sendfile_header = "X-Sendfile"
|
||||||
|
|
||||||
|
config.active_support.deprecation = :notify
|
||||||
|
|
||||||
# For nginx:
|
# For nginx:
|
||||||
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'
|
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue