FIX: Switched port to 3100 for frontend

This commit is contained in:
Hayden Hargreaves 2025-03-05 17:00:50 -07:00
parent ba81f0f98a
commit c8ed5871ce
2 changed files with 8 additions and 5 deletions

View File

@ -35,7 +35,7 @@ const INVALID_EXTS: string[] = ["exe", "dll", "obj", "lib", "bin", "dat", "pdf",
* TODO: Update hosts for production * TODO: Update hosts for production
*/ */
const corsOptions: cors.CorsOptions = { const corsOptions: cors.CorsOptions = {
origin: ["http://localhost:5173"], origin: ["http://localhost:3100"],
methods: ["GET"] methods: ["GET"]
}; };
APP.use(cors(corsOptions)); APP.use(cors(corsOptions));

View File

@ -1,9 +1,12 @@
import { defineConfig } from 'vite' import {defineConfig} from 'vite'
import react from '@vitejs/plugin-react' import react from '@vitejs/plugin-react'
import tailwindcss from "@tailwindcss/vite"; import tailwindcss from "@tailwindcss/vite";
// https://vite.dev/config/ // https://vite.dev/config/
export default defineConfig({ export default defineConfig({
server: {
port: 3100,
},
plugins: [ plugins: [
react(), tailwindcss(), react(), tailwindcss(),
], ],