From 99a44873f7db45f152149e9b9caf7527fd53ba3b Mon Sep 17 00:00:00 2001 From: Juliet Date: Mon, 9 Mar 2026 13:18:30 +0100 Subject: [PATCH] env comments --- .env.example | 7 +++++++ tsconfig.json | 7 +------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.env.example b/.env.example index 0be65c6..ce006e4 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,11 @@ +# Port to listen on PORT=3000 + +# Directory to store uploaded files and the database DATA_DIR=./data + +# Maximum upload file size in bytes (default: 100MB) MAX_FILE_SIZE=100000000 + +# Maximum TTL for uploaded files (e.g. 30m, 24h, 7d) MAX_TTL=7d diff --git a/tsconfig.json b/tsconfig.json index d4467c8..468a640 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,11 +18,6 @@ "skipLibCheck": true, "noFallthroughCasesInSwitch": true, "noUncheckedIndexedAccess": true, - "noImplicitOverride": true, - - // Some stricter flags (disabled by default) - "noUnusedLocals": false, - "noUnusedParameters": false, - "noPropertyAccessFromIndexSignature": false + "noImplicitOverride": true } } -- 2.51.2