modificado uso de CORS en la api, ahora acepta localhost y planilla.interno.com
Some checks failed
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 2s
build-and-deploy / build (push) Successful in 13s
build-and-deploy / deploy (push) Successful in 14s

This commit is contained in:
2025-05-30 10:17:41 -06:00
parent 4690197ca4
commit 3d1bf3286a
4 changed files with 164 additions and 144 deletions

View File

@@ -5,9 +5,18 @@ import router from './router'
import App from './App.vue'
import './style.css' // Tailwind o tus estilos globales
const app =
createApp(App)
app.use(cors({
origin: 'https://planilla.interno.com',
credentials: true // si usás cookies/sesiones
}));
app.use(createPinia())
app.use(router)