[skip ci] refactor: proxy -> middleware

This commit is contained in:
nyagami
2024-11-30 00:35:45 +07:00
parent 195a913998
commit f352783ee1
8 changed files with 274 additions and 851 deletions
+3 -3
View File
@@ -17,7 +17,7 @@
"prepare": "husky install",
"prettier": "prettier --write \"./**/*.{js,ts}\"",
"proxy": "node proxy_server.js",
"start": "node importPlugins.js && concurrently \"npm run dev\" \"npm run proxy\"",
"start": "node importPlugins.js && vite",
"test": "exit 0"
},
"author": "LNReader",
@@ -36,12 +36,12 @@
"@reduxjs/toolkit": "^2.4.0",
"@types/eslint__js": "^8.42.3",
"@types/eslint-config-prettier": "^6.11.3",
"@types/http-proxy": "^1.17.15",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@types/react-window": "^1.8.8",
"@vitejs/plugin-react-swc": "^3.5.0",
"cheerio": "^1.0.0",
"concurrently": "^8.2.2",
"dayjs": "^1.11.13",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
@@ -68,4 +68,4 @@
"lint-staged": {
"**/*.{js,ts,jsx,tsx}": "prettier --write"
}
}
}