From d1cc7408401fdc73b6f2754ab5ebbcd94b5e2b4e Mon Sep 17 00:00:00 2001 From: Darren Reid Date: Fri, 8 Nov 2024 14:49:45 +1100 Subject: [PATCH] Update vite.config.ts --- MyApp.Client/vite.config.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/MyApp.Client/vite.config.ts b/MyApp.Client/vite.config.ts index 6279c56..c57ffa8 100644 --- a/MyApp.Client/vite.config.ts +++ b/MyApp.Client/vite.config.ts @@ -35,11 +35,8 @@ if (!fs.existsSync(certFilePath) || !fs.existsSync(keyFilePath)) { if (0 !== child_process.spawnSync('dotnet', [ 'dev-certs', 'https', - '--export-path', - certFilePath, - '--format', - 'Pem', - '--no-password', + '--verbose', + '--trust' ], { stdio: 'inherit', }).status) { throw new Error("Could not create certificate."); }