Corrige overflow del layout y autenticación de la API de proyectos

This commit is contained in:
Marlene-Angel
2025-12-22 13:00:53 -08:00
parent 1519548c90
commit 25da09352d
4 changed files with 23 additions and 15 deletions

View File

@@ -2,16 +2,12 @@ import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), tailwindcss()],
server: {
allowedHosts: [
"localhost",
"127.0.0.1",
"reyna-compressive-shaunna.ngrok-free.dev",
],
host: true, // expone en 0.0.0.0
allowedHosts: "all", // permite dominios como *.ngrok-free.dev
port: 5173,
strictPort: true, // no brinca de puerto
},
});
});