Chore: Updated python dependencies

Chore: Updated angular to v19
Chore: Refactored ops with docker and ansible
This commit is contained in:
2024-12-16 17:53:21 +05:30
parent 010e9a84db
commit 2495c24e1a
127 changed files with 9712 additions and 416 deletions

View File

@ -4,9 +4,8 @@ import { Injectable } from '@angular/core';
providedIn: 'root',
})
export class CookieService {
// eslint-disable-next-line class-methods-use-this
public getCookie(name: string) {
const ca: Array<string> = document.cookie.split(';');
const ca: string[] = document.cookie.split(';');
const caLen: number = ca.length;
const cookieName = `${name}=`;
let c: string;
@ -24,8 +23,7 @@ export class CookieService {
this.setCookie(name, '', -1);
}
// eslint-disable-next-line class-methods-use-this
public setCookie(name: string, value: string, expireDays: number, path: string = '') {
public setCookie(name: string, value: string, expireDays: number, path = '') {
const d: Date = new Date();
d.setTime(d.getTime() + expireDays * 24 * 60 * 60 * 1000);
const expires = `expires=${d.toUTCString()}`;