made some adjustments to copay for copay shell integration
This commit is contained in:
parent
40f8db0e91
commit
cd66a12ed3
8 changed files with 161 additions and 102 deletions
21
app.js
21
app.js
|
|
@ -1,12 +1,15 @@
|
|||
var express=require("express");
|
||||
var http=require("http");
|
||||
var express = require('express');
|
||||
var http = require('http');
|
||||
var app = express();
|
||||
|
||||
var app=express();
|
||||
app.start = function(port, callback) {
|
||||
|
||||
var port = process.env.PORT || 3000;
|
||||
app.set("port", port);
|
||||
app.use(express.static(__dirname));
|
||||
app.set('port', port);
|
||||
app.use(express.static(__dirname));
|
||||
|
||||
app.listen(port, function(){
|
||||
console.log("Listening at: http://localhost:" + port);
|
||||
});
|
||||
app.listen(port, function() {
|
||||
callback('http://localhost:' + port);
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = app;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue