Skip to content

Commit bc86d54

Browse files
committed
chore: Update README.md & package.json
1 parent 45adebf commit bc86d54

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# redirect-ssl
22

3-
> Enforce HTTPS on your Nuxt app with Koa backend
3+
> Enforce HTTPS on your Nuxt app with Koa or Express backend
44
55
## Usage
66

@@ -59,5 +59,9 @@ Status code when redirecting. The reason of choosing `307` for default is:
5959
- Is temporary so if for any reason HTTPS disables on server clients won't hurt. (If you need permanent, use `308` *Permanent Redirect* or `301` *Moved Permanently*)
6060
- See [This question](https://stackoverflow.com/questions/42136829/whats-difference-between-http-301-and-308-status-codes), [307 on MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/307), and [RFC 7231 section 6.4.7](https://tools.ietf.org/html/rfc7231#section-6.4.7) for more info.
6161

62+
### exclude
63+
- Default: `[]`
64+
An array of routes patterns for which redirection should be disabled.
65+
6266
## License
63-
MIT - [Nuxt.js](https://nuxtjs.org)
67+
MIT - [Ax2](http://ax2.ca)

package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
"version": "1.2.0",
44
"description": "Enforce HTTPS on your Nuxt app with Koa backend",
55
"main": "index.js",
6-
"repository": "[email protected]:ax2inc/redirect-ssl.git",
7-
"author": "Pooya Parsa <[email protected]>",
86
"license": "MIT",
7+
"repository": {
8+
"type" : "git",
9+
"url" : "[email protected]:ax2inc/redirect-ssl.git"
10+
},
911
"scripts": {
1012
"eslint": "eslint --ext .js ."
1113
},

0 commit comments

Comments
 (0)