Answer the question
In order to leave comments, you need to log in
How to set up subdomain on ngrok and run on node?
Good afternoon!
How to set up subdomain on ngrok and run on node?
Maybe I didn’t understand (didn’t see it in the docks ) and is this part of a paid subscription?
The code:
app.listen(config.get('port'), function() {
return console.log('Listening on port', config.get('port'));
});
ngrok.connect({
authtoken: 'mytoken ***',
subdomain: 'mysub',
port: config.get('port')
}, function(err, url) {
return console.log('url: ', url, '\nerr: ', err);
});
Answer the question
In order to leave comments, you need to log in
Paid. :(
I found this line in the docks:
Reserved domains will never be assigned to another user, even if your tunnel is offline. Custom hostnames via CNAME must be reserved for security reasons.
And this button will appear only when you make a paid subscription.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question