mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2026-03-22 07:29:35 +08:00
fix: upload size limit
This commit is contained in:
@@ -18,7 +18,9 @@ const app = express();
|
||||
const secret = process.argv.find(arg => arg.startsWith('--secret='))?.split('=')[1];
|
||||
|
||||
app.use(cors());
|
||||
app.use(express.json());
|
||||
app.use(express.json({
|
||||
limit: '10mb'
|
||||
}));
|
||||
|
||||
// Add health check endpoint for Docker container verification
|
||||
app.get('/health', (req, res) => {
|
||||
|
||||
Reference in New Issue
Block a user