Browse Source

test

Fixing-CORS-crash
BinHong Lee 7 years ago
parent
commit
8f3b98ce2a
2 changed files with 8 additions and 1 deletions
  1. +6
    -0
      index.js
  2. +2
    -1
      package.json

+ 6
- 0
index.js View File

@@ -0,0 +1,6 @@
var http = require('http')

http.createServer(function (request, response) {
response.writeHead(200, {'Content-Type': 'text/plain'})
response.end('Breakup\n')
}).listen(process.env.PORT)

+ 2
- 1
package.json View File

@@ -4,7 +4,8 @@
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "test"
"test": "test",
"start": "node index.js"
}, },
"author": "", "author": "",
"license": "MIT" "license": "MIT"


Loading…
Cancel
Save