mirror of
https://github.com/zimplexing/OrionTV.git
synced 2026-02-04 03:36:29 +08:00
新增少儿分类&日志
This commit is contained in:
@@ -46,7 +46,7 @@ const initialCategories: Category[] = [
|
||||
{ title: "热门剧集", type: "tv", tag: "热门" },
|
||||
{ title: "热门电影", type: "movie", tag: "热门" },
|
||||
{ title: "豆瓣 Top250", type: "movie", tag: "top250" },
|
||||
// { title: "儿童", type: "movie", tag: "儿童" },
|
||||
{ title: "儿童", type: "movie", tag: "少儿" },
|
||||
{ title: "美剧", type: "tv", tag: "美剧" },
|
||||
{ title: "韩剧", type: "tv", tag: "韩剧" },
|
||||
{ title: "日剧", type: "tv", tag: "日剧" },
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "mytv-backend",
|
||||
"version": "1.0.0",
|
||||
"name": "OrionTV-proxy",
|
||||
"version": "1.0.1",
|
||||
"description": "Backend service for MyTV application",
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
"start": "node dist/index.js",
|
||||
"build": "tsc",
|
||||
"dev": "ts-node-dev --respawn --transpile-only src/index.ts"
|
||||
"dev": "ts-node-dev --respawn --transpile-only src/index.docker.ts"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
||||
@@ -59,6 +59,15 @@ async function searchFromApi(
|
||||
|
||||
const data = await response.json();
|
||||
|
||||
console.log(
|
||||
"apiUrl",
|
||||
apiSite.name,
|
||||
"response status",
|
||||
response.ok,
|
||||
"response data",
|
||||
data.list.length
|
||||
);
|
||||
|
||||
if (
|
||||
!data ||
|
||||
!data.list ||
|
||||
|
||||
Reference in New Issue
Block a user