|
|
|
@ -287,7 +287,7 @@ function DisplayLokinetConfig()
|
|
|
|
|
<input type="text" class="form-control" list="exitaddresses" placeholder="enter exit address here" id="exitaddress" name="exitaddress" onchange="OnSelectionChange()">
|
|
|
|
|
<?php $api_url = 'https://my-json-server.typicode.com/necro-nemesis/exits-api/exits';
|
|
|
|
|
// Read JSON file
|
|
|
|
|
$json_data = file_get_contents($api_url);
|
|
|
|
|
$json_data = file_get_contents($api_url, 0, stream_context_create(["http"=>["timeout"=>6]]));
|
|
|
|
|
// Decode JSON data into PHP array
|
|
|
|
|
$response_data = json_decode($json_data,true);
|
|
|
|
|
?>
|
|
|
|
|