Skip to content

Commit

Permalink
feat: 增加网易云登录页面
Browse files Browse the repository at this point in the history
  • Loading branch information
QingXia-Ela committed Aug 20, 2024
1 parent 83f8033 commit f628fd1
Show file tree
Hide file tree
Showing 5 changed files with 212 additions and 176 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"cssrem.rootFontSize": 50,
"eslint.enable": false,
"rust-analyzer.linkedProjects": [
".\\src-tauri\\Cargo.toml",
],
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"tauri:dev": "tauri dev",
"tauri:build": "tauri build",
"build:types": "cd src-tauri && cargo test && cd ../bin && node move_types.cjs",
"build:all": "node scripts/buildAll.js",
"lint": "npx prettier ./src --write",
"storybook": "set STORYBOOK=true&& storybook dev -p 6006",
"build-storybook": "storybook build",
Expand All @@ -26,7 +27,7 @@
"@mui/styled-engine-sc": "^5.12.0",
"@nanostores/react": "^0.7.1",
"@reduxjs/toolkit": "^1.9.7",
"@tauri-apps/api": "^1.4.0",
"@tauri-apps/api": "^1.6.0",
"@tweenjs/tween.js": "^21.1.1",
"@types/react-transition-group": "^4.4.7",
"dva": "^2.4.1",
Expand Down Expand Up @@ -56,7 +57,7 @@
"@storybook/react-vite": "7.4.6",
"@storybook/testing-library": "0.2.2",
"@szhsin/react-menu": "^4.1.0",
"@tauri-apps/cli": "^1.4.0",
"@tauri-apps/cli": "^1.6.0",
"@types/http-proxy": "^1.17.12",
"@types/lodash": "^4.14.199",
"@types/node": "^20.4.5",
Expand Down
4 changes: 3 additions & 1 deletion packages/plugins/ncm_inject/src-node/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ async function start() {
moduleDefs: parseCollect(collect),
checkVersion: false
})
// server.use("/login-page", () => require("../src-login/index.html"))
server.get("/login-page", (req, res) => res
.set("Content-Type", "text/html; charset=utf-8")
.send(require("../src-login/index.html")))
}
start()
Loading

0 comments on commit f628fd1

Please sign in to comment.