parent
c22e494e93
commit
8b698357fa
@ -1,7 +1,7 @@
|
|||||||
import { Controller } from '../types'
|
import { Controller } from '../types'
|
||||||
import { get, parse, attr, url } from '../api'
|
import { get, parse, attr, url } from '../api'
|
||||||
|
|
||||||
export const getLastest: Controller = async (req, res) => {
|
export const getLatest: Controller = async (req, res) => {
|
||||||
try {
|
try {
|
||||||
const { data } = await get(url)
|
const { data } = await get(url)
|
||||||
const html = parse(data)
|
const html = parse(data)
|
Loading…
Reference in New Issue