Node/apache/angular developer needed.
1 day job
Especificaciones del problema:
El sitio funciona bajo el dominio xxx.org. El front esta codificado en angular y se configuró un [login to view URL] con los cors permitidos, lo cual se especifica en el [login to view URL] con la siguiente linea en start: "ng serve --proxy-config [login to view URL]".
En el subdominio [login to view URL] se encuentra corriendo la api la cual esta codificada en node.js con express, donde se configuran los cors con el siguiente codigo:
"const cors= require('cors')
var corsOptions = {
origin:'*',
optionsSuccessStatus:200,
methods: "GET, PUT, POST, DELETE"
}
[login to view URL](cors(corsOptions));
"
y queda corriendo como https especificando los certificados del subdominio del sitio.
Ambos se encuentran en el mismo hosting
Todo el ditio funcionaba sin ningun inconveniente y sin que se altere el codigo pero ahora se bloquea por error de cors
Lo hariamos mediante zoom por temas de seguridad.
Si requiere mas informacion, por favor preguntar.
Problem especifications
We need help to solve a Cors problem.
The website runs under a .org domain.
The front is coded in angular and a [login to view URL] has been configured, with the cors alowed. This has been especificated on the [login to view URL] with the folowing code line in start: "ng serve --proxy-config [login to view URL]".
The api coded on node.js, with express, is runing on the subdomain [login to view URL], where the cors where configurated with the folowing code:
"const cors= require('cors')
var corsOptions = {
origin:'*',
optionsSuccessStatus:200,
methods: "GET, PUT, POST, DELETE"
}
[login to view URL](cors(corsOptions));
"
The app runs under https especificing the certificates of the subdomain of the website.
Both are on the same hosting.
The site was working ok on an inmotion hosting, but it stoped working because of a cors error without any change made on the code.
For security matters it would be done by zoom.
Spanish languaje prefered.
If you need more info, please ask!
Hi greetings of the day I am a Experienced Full Stack Developer based out in Chennai,India.
I am Ready to start now.
Thanking you, All the very best, Cheers!!! Saurav