mirror of
https://github.com/github/codeql.git
synced 2026-03-04 22:56:47 +01:00
16 lines
246 B
JavaScript
16 lines
246 B
JavaScript
var express = require('express');
|
|
|
|
var app = express();
|
|
var config = {
|
|
handler: function(req, res){}
|
|
}
|
|
app.use(config.handler);
|
|
|
|
|
|
function getConfig() {
|
|
return {
|
|
handler: function(req, res){}
|
|
}
|
|
}
|
|
app.use(getConfig().handler);
|