feat: esm standard for routes
This commit is contained in:
@@ -5,7 +5,7 @@ import md5 from '@/utils/md5';
|
||||
import { parseDate } from '@/utils/parse-date';
|
||||
import { art } from '@/utils/render';
|
||||
|
||||
module.exports = async (ctx) => {
|
||||
export default async (ctx) => {
|
||||
const { user, repo, period } = ctx.req.param();
|
||||
|
||||
const periods = ['daily', 'halfweekly', 'weekly', 'monthly'];
|
||||
|
||||
Reference in New Issue
Block a user