mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-24 10:28:50 +01:00
Fix broken preview link on some installation
This commit is contained in:
parent
d4541216af
commit
419a6e7df3
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ String getFilePreviewUrlRelative(
|
|||
bool a,
|
||||
}) {
|
||||
final filePath = Uri.encodeQueryComponent(file.strippedPath);
|
||||
var url = "core/preview.png?file=$filePath&x=$width&y=$height";
|
||||
var url = "index.php/core/preview.png?file=$filePath&x=$width&y=$height";
|
||||
if (mode != null) {
|
||||
url = "$url&mode=$mode";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue