diff options
| author | Pitu <[email protected]> | 2021-06-08 00:33:01 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2021-06-08 00:33:01 +0900 |
| commit | 9b28e56e09ef31052935c00c830ceafd481b94f3 (patch) | |
| tree | 3e01309b801890765b3f5e06f962399f237725a8 /src/api/routes/search | |
| parent | chore: simplify dev commands (diff) | |
| download | host.fuwn.me-9b28e56e09ef31052935c00c830ceafd481b94f3.tar.xz host.fuwn.me-9b28e56e09ef31052935c00c830ceafd481b94f3.zip | |
chore: get host from req instead of config
Diffstat (limited to 'src/api/routes/search')
| -rw-r--r-- | src/api/routes/search/searchGET.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/search/searchGET.js b/src/api/routes/search/searchGET.js index 187fcab..3cfcfef 100644 --- a/src/api/routes/search/searchGET.js +++ b/src/api/routes/search/searchGET.js @@ -53,7 +53,7 @@ class configGET extends Route { // For each file, create the public link to be able to display the file for (let file of files) { - file = Util.constructFilePublicLink(file); + file = Util.constructFilePublicLink(req, file); } return res.json({ |