diff --git a/vite.config.ts b/vite.config.ts index 3b5dbbe0..1a024bb6 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,5 +1,3 @@ -import fs from 'fs'; -import path from 'path'; import { defineConfig } from 'vite'; import svgr from 'vite-plugin-svgr'; @@ -8,13 +6,7 @@ import react from '@vitejs/plugin-react'; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react(), svgr()], - server: { - https: { - // TODO: replace with your own certificate - key: fs.readFileSync(path.resolve(__dirname, './key.pem')), - cert: fs.readFileSync(path.resolve(__dirname, './cert.pem')), - }, port: 8443, }, });