Skip to content

Commit

Permalink
Merge pull request #28 from tolerious/feat/add-baidu-translation-feature
Browse files Browse the repository at this point in the history
🚧 Add baidu translation feature.
  • Loading branch information
tolerious authored Feb 28, 2025
2 parents ad6b605 + db726af commit c26c0bb
Show file tree
Hide file tree
Showing 3 changed files with 2,042 additions and 2,529 deletions.
2 changes: 1 addition & 1 deletion middleware/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const auth = function (req, res, next) {
"/user/",
"/youdao/",
"/translation/content",
"/cron"
"/cron",
].indexOf(req.originalUrl) > -1 &&
(req.method === "POST" || req.method === "GET")) ||
rule.test(req.originalUrl) ||
Expand Down
Loading

0 comments on commit c26c0bb

Please sign in to comment.