[+] 证书终端请求ID

This commit is contained in:
acgist
2023-02-28 08:01:25 +08:00
parent 4f6ae876d7
commit 57c09d3ff2
72 changed files with 874 additions and 501 deletions

View File

@@ -1,12 +1,17 @@
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import { fileURLToPath, URL } from "node:url";
import fs from "node:fs";
export default defineConfig({
plugins: [vue()],
server: {
port: 8443,
host: "0.0.0.0",
https: {
cert: fs.readFileSync("src/certs/server.crt"),
key: fs.readFileSync("src/certs/server.key"),
},
},
resolve: {
alias: {