Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: jordanzhang/bitstarter
base: 90fd58e343
...
head fork: jordanzhang/bitstarter
compare: 2c719759a8
Checking mergeability… Don't worry, you can still create the pull request.
  • 6 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Commits on Jul 11, 2013
Ubuntu Updated web.js fca1148
Ubuntu added index.html 7381511
Ubuntu update3 b7c905e
Ubuntu file 12d7d59
Ubuntu fs 7b0116a
Ubuntu fs 2c71975
Showing with 9 additions and 2 deletions.
  1. +1 −0  index.html
  2. +8 −2 web.js
View
1  index.html
@@ -0,0 +1 @@
+Hellow World from Index.html
View
10 web.js
@@ -1,12 +1,18 @@
var express = require('express');
+var fs = require('fs');
var app = express.createServer(express.logger());
app.get('/', function(request, response) {
- response.send('Hello World!');
+
+var buf = fs.readFileSync("index.html", "utf-8");
+
+response.send(buf.toString("utf-8", 0, buf.length));
+
+// response.send('Hello World 3!');
});
var port = process.env.PORT || 5000;
app.listen(port, function() {
console.log("Listening on " + port);
-});
+});

No commit comments for this range

Something went wrong with that request. Please try again.