test git service

This commit is contained in:
joseph le 2023-09-25 19:47:38 +07:00
parent 121ebf38c6
commit 607a901072
2 changed files with 1 additions and 2 deletions

View File

@ -288,8 +288,6 @@ export default class ErpsController {
const res = await axios.get("http://192.168.5.7:8080/" + fileName); const res = await axios.get("http://192.168.5.7:8080/" + fileName);
const arrayLine = res?.data?.split("\n"); const arrayLine = res?.data?.split("\n");
// console.log(arrayLine) // console.log(arrayLine)
if (range >= line) { if (range >= line) {
response.status(200).json({ response.status(200).json({
content: arrayLine?.slice(0, line + range)?.join("\n"), content: arrayLine?.slice(0, line + range)?.join("\n"),

View File

@ -107,6 +107,7 @@ const ManageValues = () => {
<div> <div>
<Link to={"/logs"}> <button style={{color:"white", backgroundColor:"blue", cursor:"pointer"}}>List of detected files</button></Link> <Link to={"/logs"}> <button style={{color:"white", backgroundColor:"blue", cursor:"pointer"}}>List of detected files</button></Link>
</div> </div>
</div> </div>
); );
}; };