diff --git a/app/controllers/wopi_controller.rb b/app/controllers/wopi_controller.rb index 3bc46e148..e61ccbadb 100644 --- a/app/controllers/wopi_controller.rb +++ b/app/controllers/wopi_controller.rb @@ -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