From 0857183762c26b64c205503d987d9f3a80bfbd98 Mon Sep 17 00:00:00 2001 From: Christian Carlsson Date: Wed, 13 Nov 2024 12:52:53 +0000 Subject: [PATCH] disable https --- js/vite.config.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/js/vite.config.ts b/js/vite.config.ts index 86c702b0..5c42d465 100644 --- a/js/vite.config.ts +++ b/js/vite.config.ts @@ -4,7 +4,7 @@ import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' import vueDevTools from 'vite-plugin-vue-devtools' -import fs from "node:fs"; +// import fs from "node:fs"; // https://vite.dev/config/ export default defineConfig({ @@ -14,10 +14,10 @@ export default defineConfig({ vueDevTools(), ], server: { - https: { - key: fs.readFileSync('./../.secrets/localhost.key'), - cert: fs.readFileSync('./../.secrets/localhost.crt'), - }, + // https: { + // key: fs.readFileSync('./../.secrets/localhost.key'), + // cert: fs.readFileSync('./../.secrets/localhost.crt'), + // }, port: 5173, // Optional: set the port you want to use }, resolve: {