Skip to content

Commit

Permalink
Add badges
Browse files Browse the repository at this point in the history
  • Loading branch information
mbasso committed Feb 28, 2016
1 parent fe80a63 commit 2596b06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# React-https-redirect

[![npm](https://img.shields.io/npm/v/react-https-redirect.svg)](https://www.npmjs.com/package/react-https-redirect)
[![npm](https://img.shields.io/npm/l/react-https-redirect.svg)](https://github.com/mbasso/react-https-redirect/blob/master/LICENSE.md)

This is a React component equivalent of Polymer [platinum-https-redirect](https://elements.polymer-project.org/elements/platinum-https-redirect)

> The element redirects the current page to HTTPS, unless the page is loaded from a web server running on localhost.
Expand Down Expand Up @@ -43,4 +46,4 @@ class App extends React.Component {
## Copyright and License
Copyright (c) 2016, Matteo Basso.

DynamicScript source code is licensed under the [MIT License](https://github.com/mbasso/react-https-redirect/blob/master/LICENSE.md).
React-https-redirect source code is licensed under the [MIT License](https://github.com/mbasso/react-https-redirect/blob/master/LICENSE.md).
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-https-redirect",
"version": "1.0.1",
"version": "1.0.2",
"description": "Force a redirect to HTTPS when not on a local web server.",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit 2596b06

Please sign in to comment.