feat: add API endpoints for fetching news by ID and slug, and update routing accordingly
This commit is contained in:
@@ -4,7 +4,7 @@ import { stripHtml } from 'string-strip-html'
|
||||
|
||||
import { getCategories } from '~/apis/common/get-categories'
|
||||
import { getNews } from '~/apis/common/get-news'
|
||||
import { getNewsBySlug } from '~/apis/common/get-news-by-slug'
|
||||
import { getNewsBySlug } from '~/apis/news/get-news-by-slug'
|
||||
import { getUser } from '~/apis/news/get-user'
|
||||
import { APP } from '~/configs/meta'
|
||||
import { handleCookie } from '~/libs/cookies'
|
||||
|
||||
Reference in New Issue
Block a user