DONE: use acs mykad reader, fix trailing issue, duplicated line
This commit is contained in:
@@ -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))),
|
||||
|
||||
Reference in New Issue
Block a user