49 lines
983 B
JSON
49 lines
983 B
JSON
{
|
|
"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
|
|
}
|
|
} |