0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Removed support for apps from getContentPath

no-issue

There is no longer a need for this as external apps do not work.
This commit is contained in:
Fabien O'Carroll 2019-04-15 16:45:13 +02:00
parent 37bcdb0a83
commit a947947ebd

View file

@ -51,8 +51,6 @@ exports.getContentPath = function getContentPath(type) {
switch (type) {
case 'images':
return path.join(this.get('paths:contentPath'), 'images/');
case 'apps':
return path.join(this.get('paths:contentPath'), 'apps/');
case 'themes':
return path.join(this.get('paths:contentPath'), 'themes/');
case 'storage':