mirror of
				https://github.com/therootcompany/greenlock.js.git
				synced 2024-11-16 17:29:00 +00:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			fcafde98be
			...
			bd817d2a24
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| bd817d2a24 | |||
| b558c1f0ec | 
							
								
								
									
										10
									
								
								greenlock.js
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								greenlock.js
									
									
									
									
									
								
							@ -399,15 +399,21 @@ G.create = function(gconf) {
 | 
				
			|||||||
            notify: greenlock._notify,
 | 
					            notify: greenlock._notify,
 | 
				
			||||||
            debug: greenlock._defaults.debug || args.debug
 | 
					            debug: greenlock._defaults.debug || args.debug
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        // The user has explicitly set the directoryUrl, great!
 | 
				
			||||||
        var dirUrl = args.directoryUrl || mconf.directoryUrl;
 | 
					        var dirUrl = args.directoryUrl || mconf.directoryUrl;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        // The directoryUrl is implicit
 | 
				
			||||||
        var showDir = false;
 | 
					        var showDir = false;
 | 
				
			||||||
        if (!dirUrl) {
 | 
					        if (!dirUrl) {
 | 
				
			||||||
            showDir = true;
 | 
					            showDir = true;
 | 
				
			||||||
            dirUrl = greenlock._defaults.directoryUrl;
 | 
					            dirUrl = greenlock._defaults.directoryUrl;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        if (showDir || (/staging/.test(dirUrl) && !gdefaults.shownDirectory)) {
 | 
					
 | 
				
			||||||
 | 
					        // Show the directory if implicit
 | 
				
			||||||
 | 
					        if (showDir && !gdefaults.shownDirectory) {
 | 
				
			||||||
            gdefaults.shownDirectory = true;
 | 
					            gdefaults.shownDirectory = true;
 | 
				
			||||||
            console.info('ACME Directory URL:', gdefaults.directoryUrl);
 | 
					            console.info('ACME Directory URL:', dirUrl);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        var dir = caches[dirUrl];
 | 
					        var dir = caches[dirUrl];
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							@ -1,6 +1,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
    "name": "@root/greenlock",
 | 
					    "name": "@root/greenlock",
 | 
				
			||||||
    "version": "3.1.4",
 | 
					    "version": "3.1.5",
 | 
				
			||||||
    "lockfileVersion": 1,
 | 
					    "lockfileVersion": 1,
 | 
				
			||||||
    "requires": true,
 | 
					    "requires": true,
 | 
				
			||||||
    "dependencies": {
 | 
					    "dependencies": {
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
    "name": "@root/greenlock",
 | 
					    "name": "@root/greenlock",
 | 
				
			||||||
    "version": "3.1.4",
 | 
					    "version": "3.1.5",
 | 
				
			||||||
    "description": "The easiest Let's Encrypt client for Node.js and Browsers",
 | 
					    "description": "The easiest Let's Encrypt client for Node.js and Browsers",
 | 
				
			||||||
    "homepage": "https://rootprojects.org/greenlock/",
 | 
					    "homepage": "https://rootprojects.org/greenlock/",
 | 
				
			||||||
    "main": "greenlock.js",
 | 
					    "main": "greenlock.js",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user