Merge pull request #6570 from overleaf/revert-6352-tm-dropbox-webhook-signature-verification

Revert "Add dropbox webhook signature verification and decaf cleanup"

GitOrigin-RevId: eb1fab093d7979a010700f0bc3e1e696f3cba6ae
This commit is contained in:
Thomas 2022-02-01 13:01:10 +01:00 committed by Copybot
parent bbb97bed26
commit 347649ebaa
2 changed files with 0 additions and 10 deletions

View file

@ -81,14 +81,6 @@ function loadViewIncludes(app) {
} }
} }
function registerAppMiddleware(app) {
for (const module of _modules) {
if (module.appMiddleware) {
module.appMiddleware(app)
}
}
}
function moduleIncludes(view, locals) { function moduleIncludes(view, locals) {
const compiledPartials = _viewIncludes[view] || [] const compiledPartials = _viewIncludes[view] || []
let html = '' let html = ''
@ -152,7 +144,6 @@ module.exports = {
loadViewIncludes, loadViewIncludes,
moduleIncludes, moduleIncludes,
moduleIncludesAvailable, moduleIncludesAvailable,
registerAppMiddleware,
hooks: { hooks: {
attach: attachHook, attach: attachHook,
fire: fireHook, fire: fireHook,

View file

@ -132,7 +132,6 @@ app.set('views', Path.join(__dirname, '/../../views'))
app.set('view engine', 'pug') app.set('view engine', 'pug')
Modules.loadViewIncludes(app) Modules.loadViewIncludes(app)
Modules.registerAppMiddleware(app)
app.use(bodyParser.urlencoded({ extended: true, limit: '2mb' })) app.use(bodyParser.urlencoded({ extended: true, limit: '2mb' }))
app.use(bodyParser.json({ limit: Settings.max_json_request_size })) app.use(bodyParser.json({ limit: Settings.max_json_request_size }))
app.use(methodOverride()) app.use(methodOverride())