17 lines
399 B
JavaScript
17 lines
399 B
JavaScript
const express = require('express');
|
|
const app = express();
|
|
const port = 3434;
|
|
|
|
app.get('*', (req, res) => {
|
|
|
|
console.log('-+-+-+-+-+-+-+-');
|
|
console.log('originalUrl', req.originalUrl);
|
|
console.log('Headers', req.headers);
|
|
console.log('query', req.query);
|
|
console.log('\n\n\n');
|
|
|
|
res.send("LvnvxRvdbc")
|
|
});
|
|
|
|
app.listen(port, () => console.log(`Example app listening on port ${port}!`));
|