perf: 优化passkey

This commit is contained in:
xiaojunnuo
2026-03-18 00:43:01 +08:00
parent 0f9eb31740
commit 9e12412f5f
8 changed files with 28 additions and 14 deletions
-4
View File
@@ -88,10 +88,6 @@ export default (req: any) => {
host: "0.0.0.0",
port: 3008,
fs: devServerFs,
https: {
key: fs.readFileSync("./keys/localhost+1-key.pem"),
cert: fs.readFileSync("./keys/localhost+1.pem"),
},
allowedHosts: ["localhost", "127.0.0.1", "yfy.docmirror.cn", "docmirror.top", "*", "local.dev"],
proxy: {
// with options