Skip to content

Commit

Permalink
feat: 下载订阅的日志中增加请求 target 和实际输出
Browse files Browse the repository at this point in the history
  • Loading branch information
xream committed Dec 28, 2024
1 parent a3ec98c commit 0d5e1ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sub-store",
"version": "2.15.1",
"version": "2.15.2",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
"main": "src/main.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions backend/src/restful/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async function downloadSubscription(req, res) {
$.info(
`正在下载订阅:${name}\n请求 User-Agent: ${
req.headers['user-agent'] || req.headers['User-Agent']
}`,
}\n请求 target: ${req.query.target}\n实际输出: ${platform}`,
);
let {
url,
Expand Down Expand Up @@ -303,7 +303,7 @@ async function downloadCollection(req, res) {
$.info(
`正在下载组合订阅:${name}\n请求 User-Agent: ${
req.headers['user-agent'] || req.headers['User-Agent']
}`,
}\n请求 target: ${req.query.target}\n实际输出: ${platform}`,
);

let {
Expand Down

0 comments on commit 0d5e1ab

Please sign in to comment.