Skip to content
Open

Scale #482

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion php-scale/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php
print "I am running on host -> " . gethostname() ." (" . $_SERVER['SERVER_ADDR'] . ")" . "\n";
print "I am running on host by php scale -> " . gethostname() ." (" . $_SERVER['SERVER_ADDR'] . ")" . "\n";
?>
7 changes: 3 additions & 4 deletions version/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ app = express();
var response;

app.get('/', function (req, res) {
response = 'This is version 3 of the app.' + '\n';

response = 'This is version 1 of the app.' + '\n';

//send the response to the client
res.send(response);
//send the response to the client
res.send(response);

});

Expand Down