mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 03:36:44 +08:00
fixes X-WOPI-ServerVersion bug
This commit is contained in:
parent
8cd092b521
commit
87ffa7f03b
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class WopiController < ActionController::Base
|
|||
}
|
||||
response.headers['X-WOPI-HostEndpoint'] = ENV['WOPI_ENDPOINT_URL']
|
||||
response.headers['X-WOPI-MachineName'] = ENV['WOPI_ENDPOINT_URL']
|
||||
response.headers['X-WOPI-ServerVersion'] = APP_VERSION
|
||||
response.headers['X-WOPI-ServerVersion'] = Constants::APP_VERSION
|
||||
render json: msg and return
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue