aboutsummaryrefslogtreecommitdiff
path: root/src/api/routes/service
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/service
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/service')
-rw-r--r--src/api/routes/service/configGET.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/api/routes/service/configGET.js b/src/api/routes/service/configGET.js
index bc91a7e..291f0a4 100644
--- a/src/api/routes/service/configGET.js
+++ b/src/api/routes/service/configGET.js
@@ -11,7 +11,6 @@ class configGET extends Route {
config: {
serviceName: process.env.SERVICE_NAME,
uploadFolder: process.env.UPLOAD_FOLDER,
- linksPerAlbum: parseInt(process.env.MAX_LINKS_PER_ALBUM, 10),
maxUploadSize: parseInt(process.env.MAX_SIZE, 10),
filenameLength: parseInt(process.env.GENERATED_FILENAME_LENGTH, 10),
albumLinkLength: parseInt(process.env.GENERATED_ALBUM_LENGTH, 10),