mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-02-04 04:30:07 +00:00
feat: add PWA support with manifest, icons, and theme color management
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import react from "@vitejs/plugin-react-swc"
|
||||
import { execSync } from "child_process"
|
||||
import fs from "fs"
|
||||
import path from "path"
|
||||
import { defineConfig } from "vite"
|
||||
|
||||
@@ -26,6 +27,10 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
server: {
|
||||
https: {
|
||||
key: fs.readFileSync("./.cert/key.pem"),
|
||||
cert: fs.readFileSync("./.cert/cert.pem"),
|
||||
},
|
||||
proxy: {
|
||||
"/api/v1/ws/server": {
|
||||
target: "ws://localhost:8008",
|
||||
|
||||
Reference in New Issue
Block a user