mirror of
				https://github.com/therootcompany/greenlock-express.js.git
				synced 2025-10-31 12:02:48 +00:00 
			
		
		
		
	address #26 - explicitly list http2 install
This commit is contained in:
		
							parent
							
								
									ec4af4c616
								
							
						
					
					
						commit
						60c647d0da
					
				| @ -60,6 +60,10 @@ letsencrypt certonly --standalone \ | |||||||
| 
 | 
 | ||||||
| ### Standalone | ### Standalone | ||||||
| 
 | 
 | ||||||
|  | ```bash | ||||||
|  | npm install --save http2 | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
| ```javascript | ```javascript | ||||||
| lex.onRequest = function (req, res) { | lex.onRequest = function (req, res) { | ||||||
|   res.end('Hello, World!'); |   res.end('Hello, World!'); | ||||||
| @ -76,6 +80,10 @@ lex.listen([80], [443, 5001], function () { | |||||||
| 
 | 
 | ||||||
| ## Express | ## Express | ||||||
| 
 | 
 | ||||||
|  | ```bash | ||||||
|  | npm install --save http2 | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
| ```javascript | ```javascript | ||||||
| // A happy little express app | // A happy little express app | ||||||
| var app = require('express')(); | var app = require('express')(); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user