CORS, trusted domain

This commit is contained in:
2024-04-11 11:51:50 -04:00
parent a238ad3b7f
commit 3851b7f289
12 changed files with 80 additions and 14 deletions

View File

@@ -105,6 +105,8 @@ namespace Core\API\Logs {
"message" => $content,
"timestamp" => $date->format(Parameter::DATE_TIME_FORMAT)
];
$this->result["pagination"]["total"] += 1;
}
}
}
@@ -139,6 +141,7 @@ namespace Core\API\Logs {
"timestamp" => (new \DateTime())->format(Parameter::DATE_TIME_FORMAT)
]
];
$this->result["pagination"]["total"] += 1;
}
$this->loadFromFileSystem($this->result["logs"]);