mirror of
https://github.com/harish2704/npm-offline-registry.git
synced 2026-09-10 06:21:09 +00:00
More advanced features.
* fetch data from main registry if cache look up is failed * save fetched data to npm's cache, in same was as npm does the job
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
*/
|
||||
|
||||
var app = require('../app');
|
||||
var debug = require('debug')('npm-proxy:server');
|
||||
var http = require('http');
|
||||
|
||||
/**
|
||||
@@ -86,5 +85,5 @@ function onListening() {
|
||||
var bind = typeof addr === 'string'
|
||||
? 'pipe ' + addr
|
||||
: 'port ' + addr.port;
|
||||
debug('Listening on ' + bind);
|
||||
console.log('Listening on ' + bind);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user