You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
11
10
@@ -38,9 +37,9 @@ The port on which the webserver will respond. The task will fail if the specifie
38
37
39
38
#### protocol
40
39
Type: `String`
41
-
Default: `'http'`
40
+
Default: `'http'`, `'http2'`
42
41
43
-
May be `'http'`, `'https'` or `'http2'`.
42
+
May be `'http'`, `'http2'` or `'https'`.
44
43
45
44
#### hostname
46
45
Type: `String`
@@ -298,15 +297,15 @@ grunt.registerTask('connect', 'Start a custom static web server.', function() {
298
297
#### Support for HTTPS / HTTP2
299
298
300
299
A default certificate authority, certificate and key file are provided and pre-
301
-
configured for use when `protocol` has been set to `https` or `http2`.
300
+
configured for use when `protocol` has been set to `https`.
302
301
303
302
NOTE: No passphrase set for the certificate.
304
303
If you are getting warnings in Google Chrome, add 'server.crt' (from 'node_modules/tasks/certs')
305
304
to your keychain.
306
305
In OS X, after you add 'server.crt', right click on the certificate,
0 commit comments