style: auto format
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import { Data, Route } from '@/types';
|
||||
import { load } from 'cheerio';
|
||||
|
||||
import type { Data, Route } from '@/types';
|
||||
import ofetch from '@/utils/ofetch';
|
||||
|
||||
import { processList } from './utils';
|
||||
|
||||
export const route: Route = {
|
||||
path: '/category/:category?/:subCategory?',
|
||||
categories: ['programming'],
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
import { Data, Route } from '@/types';
|
||||
import { load } from 'cheerio';
|
||||
import { processList, rootUrl } from './utils';
|
||||
|
||||
import type { Data, Route } from '@/types';
|
||||
import ofetch from '@/utils/ofetch';
|
||||
|
||||
import { processList, rootUrl } from './utils';
|
||||
|
||||
export const route: Route = {
|
||||
path: '/latest',
|
||||
categories: ['programming'],
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { DataItem } from '@/types';
|
||||
import { load } from 'cheerio';
|
||||
|
||||
import type { DataItem } from '@/types';
|
||||
import cache from '@/utils/cache';
|
||||
import ofetch from '@/utils/ofetch';
|
||||
import { parseDate } from '@/utils/parse-date';
|
||||
import cache from '@/utils/cache';
|
||||
|
||||
export const rootUrl = 'https://www.30secondsofcode.org';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user