mirror of
				https://git.coolaj86.com/coolaj86/telebit-relay.js.git
				synced 2025-10-31 06:22:46 +00:00 
			
		
		
		
	Merge branch 'master' into commercial
This commit is contained in:
		
						commit
						72986ccdc1
					
				| @ -264,7 +264,7 @@ module.exports.create = function (state) { | ||||
|           //token.dynamicPorts.push(serviceport);
 | ||||
|           Devices.add(state.deviceLists, serviceport, token); | ||||
|           //var hri = require('human-readable-ids').hri;
 | ||||
|           //var hrname = hri.random() + '.telebit.cloud';
 | ||||
|           //var hrname = hri.random() + '.' + state.config.sharedDomain;
 | ||||
|           //token.dynamicNames.push(hrname);
 | ||||
|           // TODO restrict to authenticated device
 | ||||
|           // TODO pull servername from config
 | ||||
| @ -275,8 +275,8 @@ module.exports.create = function (state) { | ||||
|           , [ 2 | ||||
|             , 'grant' | ||||
|             , [ ['ssh+https', token.domains[0], 443 ] | ||||
|               , ['ssh', 'ssh.telebit.cloud', serviceport ] | ||||
|               , ['tcp', 'tcp.telebit.cloud', serviceport] | ||||
|               , ['ssh', 'ssh.' + state.config.sharedDomain, serviceport ] | ||||
|               , ['tcp', 'tcp.' + state.config.sharedDomain, serviceport] | ||||
|               , ['https', token.domains[0] ] | ||||
|               ] | ||||
|             ] | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user