mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-01 01:28:08 +08:00
15 lines
319 B
JavaScript
15 lines
319 B
JavaScript
const path = require('path');
|
|
const moduleAlias = require('module-alias');
|
|
moduleAlias.addAlias('@', path.join(__dirname, '../lib'));
|
|
|
|
const config = require('../lib/config');
|
|
config.set({
|
|
NO_LOGFILES: true,
|
|
});
|
|
|
|
const app = require('../lib/app');
|
|
|
|
module.exports = (req, res) => {
|
|
app.callback()(req, res);
|
|
};
|