분류 Nodejs

localtunnel - localhost를 세계에 공개하십시오.

컨텐츠 정보

  • 조회 286 (작성일 )

본문

https://github.com/localtunnel/localtunnel

https://localtunnel.me/


var localtunnel = require('localtunnel');

var tunnel = localtunnel(port, function(err, tunnel) {
    if (err) ...

    // the assigned public url for your tunnel
    // i.e. https://abcdefgjhij.localtunnel.me
    tunnel.url;
});

tunnel.on('close', function() {
    // tunnels are closed
});