mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-27 18:21:50 +08:00
Remove default headers
This commit is contained in:
parent
1b260785ec
commit
3217271efe
1 changed files with 5 additions and 5 deletions
|
@ -30,11 +30,11 @@ module Scinote
|
|||
"[#{datetime}] #{severity}: #{msg}\n"
|
||||
end
|
||||
|
||||
config.action_dispatch.default_headers = {
|
||||
'X-WOPI-Lock' => "",
|
||||
'Random-header' => "with value",
|
||||
'Random-non-special-header' => "a"
|
||||
}
|
||||
#config.action_dispatch.default_headers = {
|
||||
#'X-WOPI-Lock' => "",
|
||||
#'Random-header' => "with value",
|
||||
#'Random-non-special-header' => "a"
|
||||
#}
|
||||
|
||||
# Paperclip spoof checking
|
||||
Paperclip.options[:content_type_mappings] = {:csv => "text/plain", wopitest: ['text/plain', 'inode/x-empty'] }
|
||||
|
|
Loading…
Reference in a new issue