Upload files to "/"
This commit is contained in:
49
config.json
Normal file
49
config.json
Normal 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user