mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-26 17:52:59 +02:00
Remove HTTPS configuration from vite.config.ts
Removed HTTPS configuration from Vite server settings.
This commit is contained in:
parent
bc3bcb9c25
commit
56efcba5d0
@ -1,14 +1,9 @@
|
|||||||
import { defineConfig } from 'vite';
|
import { defineConfig } from 'vite';
|
||||||
import react from '@vitejs/plugin-react-swc';
|
import react from '@vitejs/plugin-react-swc';
|
||||||
import fs from 'fs';
|
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
server: {
|
server: {
|
||||||
https: {
|
|
||||||
key: fs.readFileSync('./key.pem'),
|
|
||||||
cert: fs.readFileSync('./cert.pem')
|
|
||||||
},
|
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: 'http://localhost:8080',
|
target: 'http://localhost:8080',
|
||||||
|
Loading…
Reference in New Issue
Block a user