utn-cli 2.1.37 → 2.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -33,7 +33,7 @@ export class DatosGlobalesService {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
RedirigirALogin() {
|
|
36
|
-
document.cookie = "_siguid=;expires=Thu, 01 Jan 1970 00:00:00 UTC;path=/";
|
|
36
|
+
// document.cookie = "_siguid=;expires=Thu, 01 Jan 1970 00:00:00 UTC;path=/";
|
|
37
37
|
// const url = window.location.href.toLowerCase();
|
|
38
38
|
// if (url.includes('calidad')) {
|
|
39
39
|
// this.claseDelContenedor = 'contenedor calidad';
|
|
@@ -44,7 +44,7 @@ export class DatosGlobalesService {
|
|
|
44
44
|
// }
|
|
45
45
|
// portalv2-frontend-pruebas
|
|
46
46
|
// const protocolo = new URL(window.location.href).protocol
|
|
47
|
-
window.location.href = 'https://accesov2-frontend.sigu.utn.ac.cr/';
|
|
47
|
+
// window.location.href = 'https://accesov2-frontend.sigu.utn.ac.cr/';
|
|
48
48
|
document.cookie = "_siguid=;expires=Thu, 01 Jan 1970 00:00:00 UTC;path=/";
|
|
49
49
|
const redirect = encodeURIComponent(window.location.href);
|
|
50
50
|
window.location.href = `https://accesov2-frontend.sigu.utn.ac.cr/?redirect=${redirect}`;
|