I need support of HTTPS in my React app for development, not production
I've installed package "plugin-basic-ssl" and configured vite.config.ts as follow
import { defineConfig } from 'vite'import react from '@vitejs/plugin-react-swc'import basicSsl from '@vitejs/plugin-basic-ssl'// https://vitejs.dev/config/export default defineConfig({ plugins: [react(), basicSsl()], server: { port: 3000, strictPort: true, ... },})
It works fine, but I'm always getting this message "Your connection is not private" because of self-signed certificate and I have to click "Proceed to localhost (unsafe)" every time. Is there way to get rid of this warning? Thanks!