aboutsummaryrefslogtreecommitdiff
path: root/src/api/routes/albums/albumGET.js
diff options
context:
space:
mode:
authorPitu <[email protected]>2021-06-08 00:33:01 +0900
committerPitu <[email protected]>2021-06-08 00:33:01 +0900
commit9b28e56e09ef31052935c00c830ceafd481b94f3 (patch)
tree3e01309b801890765b3f5e06f962399f237725a8 /src/api/routes/albums/albumGET.js
parentchore: simplify dev commands (diff)
downloadhost.fuwn.me-9b28e56e09ef31052935c00c830ceafd481b94f3.tar.xz
host.fuwn.me-9b28e56e09ef31052935c00c830ceafd481b94f3.zip
chore: get host from req instead of config
Diffstat (limited to 'src/api/routes/albums/albumGET.js')
-rw-r--r--src/api/routes/albums/albumGET.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/albums/albumGET.js b/src/api/routes/albums/albumGET.js
index 4ac7089..e121a31 100644
--- a/src/api/routes/albums/albumGET.js
+++ b/src/api/routes/albums/albumGET.js
@@ -44,7 +44,7 @@ class albumGET extends Route {
}
for (let file of files) {
- file = Util.constructFilePublicLink(file);
+ file = Util.constructFilePublicLink(req, file);
}
// Add 1 more view to the link