Remove HTTPS configuration from vite.config.ts

Removed HTTPS configuration from Vite server settings.
This commit is contained in:
Reece Browne 2025-09-25 11:44:55 +01:00 committed by GitHub
parent bc3bcb9c25
commit 56efcba5d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,14 +1,9 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';
import fs from 'fs';
export default defineConfig({
plugins: [react()],
server: {
https: {
key: fs.readFileSync('./key.pem'),
cert: fs.readFileSync('./cert.pem')
},
proxy: {
'/api': {
target: 'http://localhost:8080',