mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-08 05:59:00 +08:00
* fix: all broken sponsor links * fix: all broken deployment links * fix: other broken links
18 lines
551 B
TypeScript
18 lines
551 B
TypeScript
const path = require('path');
|
|
const moduleAlias = require('module-alias');
|
|
moduleAlias.addAlias('@', path.join(__dirname, '../lib'));
|
|
|
|
const { setConfig } = require('../lib/config');
|
|
setConfig({
|
|
NO_LOGFILES: true,
|
|
});
|
|
|
|
const { handle } = require('hono/vercel');
|
|
const app = require('../lib/app');
|
|
const logger = require('../lib/utils/logger');
|
|
|
|
logger.info(`🎉 RSSHub is running! Cheers!`);
|
|
logger.info('💖 Can you help keep this open source project alive? Please sponsor 👉 https://docs.rsshub.app/sponsor');
|
|
|
|
module.exports = handle(app);
|