[*] 日常优化

This commit is contained in:
acgist
2023-12-21 08:00:57 +08:00
parent 7816a53dae
commit 07d0be0020
3 changed files with 96 additions and 86 deletions

View File

@@ -4,18 +4,25 @@ import { defineConfig } from "vite";
import { fileURLToPath, URL } from "node:url";
export default defineConfig({
plugins: [vue()],
server: {
port: 8443,
host: "0.0.0.0",
port : 8443,
host : "0.0.0.0",
https: {
key : fs.readFileSync("src/certs/server.key"),
cert: fs.readFileSync("src/certs/server.crt"),
},
},
plugins: [ vue() ],
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),
},
},
});
console.info(`
中庭地白树栖鸦,冷露无声湿桂花。
今夜月明人尽望,不知秋思落谁家。
:: https://gitee.com/acgist/taoyao
`);