mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
13 lines
260 B
JavaScript
13 lines
260 B
JavaScript
var express = require('express');
|
|
var app = express();
|
|
|
|
app.get('/some/path', function(req, res) {
|
|
res.header(req.param("header"), req.param("val"));
|
|
res.send("val");
|
|
});
|
|
|
|
function getHandler() {
|
|
return function (req, res){}
|
|
}
|
|
app.use(getHandler());
|