mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-15 01:30:33 +08:00
app: remove git-rev-sync and update dependencies
This commit is contained in:
@@ -4,15 +4,12 @@ const art = require('art-template');
|
||||
const path = require('path');
|
||||
const config = require('./config');
|
||||
const logger = require('./utils/logger');
|
||||
const git = require('git-rev-sync');
|
||||
|
||||
router.get('/', async (ctx) => {
|
||||
ctx.set({
|
||||
'Content-Type': 'text/html; charset=UTF-8',
|
||||
});
|
||||
ctx.body = art(path.resolve(__dirname, './views/welcome.art'), {
|
||||
hash: git.short(),
|
||||
});
|
||||
ctx.body = art(path.resolve(__dirname, './views/welcome.art'), {});
|
||||
});
|
||||
|
||||
// bilibili
|
||||
|
||||
Reference in New Issue
Block a user