Skip to content

Commit

Permalink
Fix unpkg url in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlacombe committed Oct 12, 2018
1 parent d36871a commit 92c2509
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ Only the first 5 characters of the SHA-1 hash are sent to [Have I Been Pwned](ht

## Using the Pwned Password component on your site

Simply place this script tag `<script src="https://unpkg.com/pwned-password@latest/dist/pwned-password.js"></script>` in the `<head>` of your website.
Simply place this script tag in the `<head>` of your website:
```html
<script src="https://unpkg.com/@edgeworkscreative/pwned-password@latest/dist/pwned-password.js"></script>
````

## Usage
Now you can use the component anywhere in the body of your site:

```html
<pwned-password name="password" placeholder="Enter your password"></pwned-password>
Expand Down

0 comments on commit 92c2509

Please sign in to comment.