mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-29 03:01:58 +08:00
Fix wopi file download URL [SCI-3757] (#1975)
This commit is contained in:
parent
737f9e572c
commit
960e69eaa8
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class WopiController < ActionController::Base
|
|||
UserCanWrite: @can_write,
|
||||
UserCanNotWriteRelative: true,
|
||||
CloseUrl: @close_url,
|
||||
DownloadUrl: url_for(controller: 'assets', action: 'download',
|
||||
DownloadUrl: url_for(controller: 'assets', action: 'file_url',
|
||||
id: @asset.id, host: ENV['WOPI_USER_HOST']),
|
||||
HostEditUrl: url_for(controller: 'assets', action: 'edit',
|
||||
id: @asset.id, host: ENV['WOPI_USER_HOST']),
|
||||
|
|
Loading…
Reference in a new issue