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/service/configGET.js | |
| 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/service/configGET.js')
| -rw-r--r-- | src/api/routes/service/configGET.js | 1 |
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), |