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

This commit is contained in:
ISMAIL MASSERAN
2026-09-01 14:08:44 +08:00
parent 6e1ce76c50
commit 9fbc77aba8
10 changed files with 375 additions and 294 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))),