This commit is contained in:
Sean Edmunds
2024-08-20 16:28:46 -05:00
parent 8152d3fe73
commit 7990f164d6
39 changed files with 824 additions and 772 deletions

View File

@@ -1,15 +1,15 @@
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
import react from '@vitejs/plugin-react';
import { defineConfig } from 'vite';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
port: 3000,
host: "0.0.0.0",
host: '0.0.0.0',
proxy: {
"/api": {
target: "http://localhost:5000/trigger",
'/api': {
target: 'http://localhost:5000/trigger',
changeOrigin: false,
secure: false,
},
@@ -17,10 +17,10 @@ export default defineConfig({
},
preview: {
port: 3000,
host: "0.0.0.0",
host: '0.0.0.0',
proxy: {
api: {
target: "http://localhost:5000",
target: 'http://localhost:5000',
changeOrigin: false,
secure: false,
},