Upload files to "/"

This commit is contained in:
2025-06-25 14:11:13 +00:00
commit 0c12daf8d2
5 changed files with 210 additions and 0 deletions

49
config.json Normal file
View File

@ -0,0 +1,49 @@
{
"server": {
"name": "File Manager API Server",
"port": 3001,
"rootDirectory": "/",
"logLevel": "info",
"environment": "development",
"capabilities": [
"file-transfer",
"server-management",
"health-monitoring",
"filesystem-browsing"
]
},
"filesystem": {
"maxDepth": 10,
"cacheSettings": {
"ttl": 60000,
"refreshInterval": 300000
},
"watchEnabled": true,
"maxFileSize": 104857600
},
"transfer": {
"maxConcurrentTransfers": 5,
"uploadTimeout": 300000,
"maxRequestSize": 104857600
},
"security": {
"corsOrigins": [
"http://localhost:3000",
"http://localhost:5173"
],
"requestTimeout": 30000,
"rateLimiting": {
"windowMs": 900000,
"maxRequests": 1000
}
},
"logging": {
"requests": true,
"errors": true,
"filePath": "./logs/api-server.log"
},
"health": {
"checkEnabled": true,
"checkInterval": 60000
}
}