DONE: use acs mykad reader, fix trailing issue, duplicated line

This commit is contained in:
ISMAIL MASSERAN
2026-09-01 14:09:09 +08:00
parent 6e1ce76c50
commit 7e7d8c0da5
11 changed files with 405 additions and 333 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
<?php
$default_port = '8085';
$getReaderEndpoint = fn($x) => 'http://localhost:' . $x . '/?MYKADJSON';
$default_port = '17321';
$getReaderEndpoint = fn($x) => 'http://localhost:' . $x . '/read';
return[
'endpoint' => env('MYKAD_READER_ENDPOINT', $getReaderEndpoint(env('MYKAD_READER_PORT', $default_port))),