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 } }