fix(legacy): station url always has a trailing slash (#1838)
This commit is contained in:
parent
a4caf4782b
commit
be5d732006
3 changed files with 1 additions and 12 deletions
|
@ -163,7 +163,7 @@ class CcFiles extends BaseCcFiles
|
|||
$file->setDbHidden(true);
|
||||
$file->save();
|
||||
|
||||
$callbackUrl = Application_Common_HTTPHelper::getStationUrl() . '/rest/media/' . $file->getPrimaryKey();
|
||||
$callbackUrl = Application_Common_HTTPHelper::getStationUrl() . 'rest/media/' . $file->getPrimaryKey();
|
||||
|
||||
Application_Service_MediaService::importFileToLibrary(
|
||||
$callbackUrl,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue