Introduces integration-based webhook registration, message parsing, dry-run monitoring, JSM ticket creation, and OAuth token refresh for DC Ops spaces. Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
287 B
JavaScript
13 lines
287 B
JavaScript
import express from 'express';
|
|
import bodyParser from 'body-parser';
|
|
|
|
export function createApp() {
|
|
const app = express();
|
|
app.use(bodyParser.json({
|
|
limit: '200mb',
|
|
verify: (req, res, buf) => {
|
|
req.rawBody = buf;
|
|
},
|
|
}));
|
|
return app;
|
|
}
|