Skip to content

Commit e4d172c

Browse files
committed
clean up
1 parent 4fdeea3 commit e4d172c

File tree

7 files changed

+1
-2811
lines changed

7 files changed

+1
-2811
lines changed

api/discover/tv/index.js

Lines changed: 0 additions & 43 deletions
This file was deleted.

api/getImg.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ const common = require('../utility/common.js')
66

77
module.exports = async (req, res) => {
88
var { url: requestUrl} = req;
9-
// 重定向的`/get`必须去除
9+
// 重定向的`/img`必须去除
1010
if (!requestUrl.startsWith("/img")) {
1111
return;
1212
}else{
1313
requestUrl = requestUrl.replace(/^\/img/, '');
1414
}
15-
// 如果`api_key`前面存在参数,则`api_key`前面是'&',否则前面就是是'?'
1615
imgUrl = `https://image.tmdb.org${requestUrl}`;
1716

1817
try {
File renamed without changes.

0 commit comments

Comments
 (0)