This website works better with JavaScript.
Home
Explore
Help
Sign In
binhong
/
Breakups
mirror of
https://github.com/binhonglee/Breakups
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
test
Fixing-CORS-crash
BinHong Lee
7 years ago
parent
aa7a798e4e
commit
8f3b98ce2a
2 changed files
with
8 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
index.js
+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": "",
"main": "index.js",
"scripts": {
"test": "test"
"test": "test",
"start": "node index.js"
},
"author": "",
"license": "MIT"
Write
Preview
Loading…
Cancel
Save