Fix thumbnail url when nextcloud is in a subpath

This commit is contained in:
Matias De lellis
2020-10-30 10:15:38 -03:00
parent e9ee4e963c
commit 85c9bfa76c

View File

@@ -65,7 +65,7 @@ class FileService {
return null;
}
return $this->urlGenerator->getAbsoluteURL('core/preview?fileId=' . $fileId .'&x=' . $sideSize . '&y=' . $sideSize . '&a=false&v=' . $file->getETag());
return $this->urlGenerator->getAbsoluteURL('index.php/core/preview?fileId=' . $fileId .'&x=' . $sideSize . '&y=' . $sideSize . '&a=false&v=' . $file->getETag());
}
/**