aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPitu <[email protected]>2017-02-07 04:54:58 -0300
committerPitu <[email protected]>2017-02-07 04:54:58 -0300
commit61a4e984de34bc9fc40f8d17b7d366a92784cfb6 (patch)
treed321a15662510b417c43d6a96f7dbbcc27054847
parentAlbum stuff (diff)
downloadhost.fuwn.me-61a4e984de34bc9fc40f8d17b7d366a92784cfb6.tar.xz
host.fuwn.me-61a4e984de34bc9fc40f8d17b7d366a92784cfb6.zip
Little fix
-rw-r--r--controllers/albumsController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/albumsController.js b/controllers/albumsController.js
index c40b978..ca725de 100644
--- a/controllers/albumsController.js
+++ b/controllers/albumsController.js
@@ -39,7 +39,7 @@ albumsController.list = function(req, res, next){
if(domain.hasOwnProperty('resolve'))
basedomain = domain.resolve
- album.identifier = basedomain + '/' + album.identifier
+ album.identifier = basedomain + '/a/' + album.identifier
ids.push(album.id)
}