updates for OpenShift 3,
removing hooks setting default port to match node image Testing for demo Testing Fix log message Steve's fix Removing localized change
This commit is contained in:
parent
8d63eca076
commit
47bc62e146
3 changed files with 1 additions and 7 deletions
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
echo "OpenShift Pre-build"
|
||||
sed -e 's/^ *"nodemon": "[^"]".*$//' -i $OPENSHIFT_REPO_DIR/package.json
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
echo "OpenShift Pre_build"
|
||||
sed -e 's/^ *"nodemon": "[^"]".*$//' -i $OPENSHIFT_REPO_DIR/package.json
|
|
@ -18,7 +18,7 @@ var server = http.createServer(function (req, res) {
|
|||
|
||||
res.writeHead(200, {'Content-Type': 'text/plain'});
|
||||
|
||||
res.write('This is a node.js echo service\n');
|
||||
res.write('This is a Node.js echo service\n');
|
||||
res.write('Host: ' + req.headers.host + '\n');
|
||||
res.write('\n');
|
||||
res.write('node.js Production Mode: ' + (nodeEnv == 'production' ? 'yes' : 'no') + '\n');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue