Files
RSSHub/api/vercel.ts
wudifeixue c086c62acd fix(core): fix documentation link path and error message links (#15023)
* fix: all broken sponsor links

* fix: all broken deployment links

* fix: other broken links
2024-03-30 08:12:12 +00:00

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);