We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var express = require("express"); var app = express(); var moment = require("moment");
app.get("/", function (req, res, err) { res.writeHead(200, { "Content-Type": "text/html" }); res.end( "Hello, world! iisnode version is " + process.env.IISNODE_VERSION + ", node version is " + process.version + "]
The text was updated successfully, but these errors were encountered:
did you find the answer ?
Sorry, something went wrong.
No branches or pull requests
var express = require("express");
var app = express();
var moment = require("moment");
app.get("/", function (req, res, err) {
res.writeHead(200, { "Content-Type": "text/html" });
res.end(
"Hello, world! iisnode version is " +
process.env.IISNODE_VERSION +
", node version is " +
process.version +
"]
" +
"moment(new Date()).format("dddd MMM yyyy hh:mm:ss") +
"
);
});
app.get("/hello", function (req, res, err) {
res.writeHead(200, { "Content-Type": "text/html" });
res.end("Route2");
});
var port = process.env.PORT || 5000;
app.listen(port, function () {
console.log("server started at@" + port);
});
The text was updated successfully, but these errors were encountered: