Bugfix themes in inside Nextcloud by adding webPath #96

This commit is contained in:
the-djmaze 2022-10-11 14:50:37 +02:00
parent 47c1071f3f
commit dcf4983a7d
2 changed files with 3 additions and 2 deletions

View file

@ -81,7 +81,7 @@ export const
prefix = '';
}
return prefix + 'themes/' + encodeURI(theme) + '/images/preview.png';
return Settings.app('webPath') + prefix + 'themes/' + encodeURI(theme) + '/images/preview.png';
},
/**