Fix Prettier formatting issues

- Remove trailing whitespace and fix indentation in src/app.js
- Format whitespace in src/middleware/auth.js
- Fix formatting and add missing newline in src/middleware/browserFallback.js

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-09-10 09:13:51 +00:00
parent 4fd4dbfa51
commit cd5573ecde
3 changed files with 16 additions and 14 deletions

View File

@@ -771,7 +771,7 @@ const corsMiddleware = (req, res, next) => {
// 🆕 检查是否为Chrome插件请求
const isChromeExtension = origin && origin.startsWith('chrome-extension://')
// 设置CORS头
if (allowedOrigins.includes(origin) || !origin || isChromeExtension) {
res.header('Access-Control-Allow-Origin', origin || '*')