Skip to content

Commit

Permalink
fix: cors origin route
Browse files Browse the repository at this point in the history
  • Loading branch information
andresquez committed Oct 25, 2023
1 parent b33a573 commit 9c0a2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const app = express()

// Configura las opciones de CORS para permitir el acceso desde el host deseado
const corsOptions = {
origin: 'https://condoadminfront.azurewebsites.net', // Reemplaza con el dominio del nuevo host
origin: 'http://condoadminfront.azurewebsites.net', // Reemplaza con el dominio del nuevo host
methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',
credentials: true, // Habilita el envío de cookies y encabezados de autenticación
};
Expand Down

0 comments on commit 9c0a2c1

Please sign in to comment.