From 1ecf979721378cea7b192b3017c0e5a4bd00c03e Mon Sep 17 00:00:00 2001 From: TacticalCoderJay Date: Sun, 6 Nov 2022 10:29:42 -0800 Subject: [PATCH] fix: housekeeping (#215) * chore: remove console.log * chore: update error message to env file --- src/pages/api/upload.ts | 1 - src/server/index.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/api/upload.ts b/src/pages/api/upload.ts index 5a0d5839..20e7d639 100644 --- a/src/pages/api/upload.ts +++ b/src/pages/api/upload.ts @@ -64,7 +64,6 @@ async function handler(req: NextApiReq, res: NextApiRes) { // handle partial uploads before ratelimits if (req.headers['content-range']) { - console.log(req.files); // parses content-range header (bytes start-end/total) const [start, end, total] = req.headers['content-range'] .replace('bytes ', '') diff --git a/src/server/index.ts b/src/server/index.ts index b9ae17fb..bd02f1d9 100644 --- a/src/server/index.ts +++ b/src/server/index.ts @@ -28,7 +28,7 @@ async function start() { ); logger.error('Please change your secret in the config file or environment variables.'); logger.error( - 'The config file is located at `config.toml`, or if using docker-compose you can change the variables in the `docker-compose.yml` file.' + 'The config file is located at `.env.local`, or if using docker-compose you can change the variables in the `docker-compose.yml` file.' ); logger.error('It is recomended to use a secret that is alphanumeric and randomized.'); logger.error('A way you can generate this is through a password manager you may have.');