Skip to content

Commit

Permalink
Update API address
Browse files Browse the repository at this point in the history
  • Loading branch information
bbdoc committed Apr 14, 2021
1 parent baffa4e commit 74d8e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
exit();
}

$areas = file_get_contents("http://127.0.0.1:4201/api/humans/".$_SESSION['id'], false, $context);
$areas = file_get_contents("$api_address/api/humans/".$_SESSION['id'], false, $context);
$json = json_decode($areas, true);

if ( $json['status']="ok" ) {
Expand Down

0 comments on commit 74d8e0e

Please sign in to comment.