From 61ef007cc5149671c2e8082080d49751378a1e43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=A8=E8=90=BD?= <53731501+qyl27@users.noreply.github.com> Date: Mon, 7 Jul 2025 23:00:38 +0800 Subject: [PATCH] fix(stage-web): failed to launch when `localhost.crt` and `localhost.pem` is missing. (#262) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --------- Signed-off-by: 秋雨落 --- apps/stage-web/vite.config.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/stage-web/vite.config.ts b/apps/stage-web/vite.config.ts index b874ddac4..0001663c8 100644 --- a/apps/stage-web/vite.config.ts +++ b/apps/stage-web/vite.config.ts @@ -1,4 +1,3 @@ -import { readFileSync } from 'node:fs' import { join, resolve } from 'node:path' import { env } from 'node:process' @@ -65,10 +64,6 @@ export default defineConfig({ }, server: { - https: { - key: readFileSync(resolve(join(import.meta.dirname, '..', '..', 'localhost.pem'))), - cert: readFileSync(resolve(join(import.meta.dirname, '..', '..', 'localhost.crt'))), - }, }, plugins: [