mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-01 01:28:08 +08:00
11 lines
288 B
JavaScript
11 lines
288 B
JavaScript
const path = require('path');
|
|
const moduleAlias = require('module-alias');
|
|
moduleAlias.addAlias('@', path.join(__dirname, '../lib'));
|
|
const logger = require('@/utils/logger');
|
|
logger.clear();
|
|
const s = require('@/app.js').callback();
|
|
|
|
module.exports = (req, res) => {
|
|
s(req, res);
|
|
};
|