refs #624. Changed endpoint AutoExec
parent
4b19793371
commit
cb72571e39
|
@ -88,9 +88,9 @@ class OgAdmClientController extends AbstractController
|
||||||
return new JsonResponse(['message' => 'File not found'], Response::HTTP_NOT_FOUND);
|
return new JsonResponse(['message' => 'File not found'], Response::HTTP_NOT_FOUND);
|
||||||
}
|
}
|
||||||
|
|
||||||
$contents = file_get_contents($nfl);
|
//$contents = file_get_contents($nfl);
|
||||||
|
|
||||||
return new JsonResponse(['contents' => $contents], Response::HTTP_OK);
|
return new JsonResponse(['contents' => base64_decode($nfl)], Response::HTTP_OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[Route('/opengnsys/rest/__ogAdmClient/ComandosPendientes', methods: ['POST'])]
|
#[Route('/opengnsys/rest/__ogAdmClient/ComandosPendientes', methods: ['POST'])]
|
||||||
|
|
Loading…
Reference in New Issue