diff --git a/lib/Service/FileService.php b/lib/Service/FileService.php index 89510d7..489e345 100644 --- a/lib/Service/FileService.php +++ b/lib/Service/FileService.php @@ -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()); } /**