diff --git a/Home.md b/Home.md index 2fa2cbd..ac6a552 100644 --- a/Home.md +++ b/Home.md @@ -9,11 +9,13 @@ Replace $res->{sensorsOutput} ` with -` my $json_file_path = '/tmp/sensordata.json'; # Ensure this path is correct and file has chmod 777` +` + my $json_file_path = '/tmp/sensordata.json'; # Ensure this path is correct and file has chmod 777` `# Read JSON data from the file` `open my $fh, '<', $json_file_path or die "Cannot open $json_file_path: $!";` `my $json_text = do { local $/; <$fh> };` `close $fh;` - `$res->{sensorsOutput} = $json_text;` + `$res->{sensorsOutput} = $json_text; +`