fixes X-WOPI-ServerVersion bug

This commit is contained in:
zmagod 2017-01-04 10:02:08 +01:00
parent 8cd092b521
commit 87ffa7f03b

View file

@ -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