mirror of
				https://github.com/therootcompany/greenlock.js.git
				synced 2024-11-16 17:29:00 +00:00 
			
		
		
		
	partial merge of 9a0dd2381f
				
					
				
			This commit is contained in:
		
							parent
							
								
									605565559c
								
							
						
					
					
						commit
						bb3d9842dd
					
				
							
								
								
									
										3
									
								
								index.js
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								index.js
									
									
									
									
									
								
							| @ -6,6 +6,7 @@ var PromiseA = require('bluebird'); | ||||
| var leCore = require('letiny-core'); | ||||
| var merge = require('./lib/common').merge; | ||||
| var tplCopy = require('./lib/common').tplCopy; | ||||
| var isValidDomain = require('./lib/common').isValidDomain; | ||||
| 
 | ||||
| var LE = module.exports; | ||||
| LE.productionServerUrl = leCore.productionServerUrl; | ||||
| @ -15,6 +16,7 @@ LE.logsDir = leCore.logsDir; | ||||
| LE.workDir = leCore.workDir; | ||||
| LE.acmeChallengPrefix = leCore.acmeChallengPrefix; | ||||
| LE.knownEndpoints = leCore.knownEndpoints; | ||||
| LE.isValidDomain = isValidDomain; | ||||
| 
 | ||||
| LE.privkeyPath = ':config/live/:hostname/privkey.pem'; | ||||
| LE.fullchainPath = ':config/live/:hostname/fullchain.pem'; | ||||
| @ -128,6 +130,7 @@ LE.create = function (defaults, handlers, backend) { | ||||
| 
 | ||||
|   le = { | ||||
|     backend: backend | ||||
|   , isValidDomain: isValidDomain | ||||
|   , pyToJson: function (pyobj) { | ||||
|       if (!pyobj) { | ||||
|         return null; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user