mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-10 23:34:38 +08:00
feat: replace require with import 1/n
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
const dayjs = require('dayjs');
|
||||
const { constructTopicEntry } = require('./utils');
|
||||
import { constructTopicEntry } from './utils';
|
||||
|
||||
export default async (ctx) => {
|
||||
const id = ctx.req.param('id');
|
||||
|
||||
Reference in New Issue
Block a user