Skip to content

Commit

Permalink
docs: add minor doc about basic auth. (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
pooya parsa committed Feb 7, 2019
1 parent 6f46667 commit 167a992
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/modules/workbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,3 +185,17 @@ Add it to the `plugins` section of `nuxt.config.js`:
]
}
```

### Basic Auth

As a workaround for making basic auth working as described [here](https://thatemil.com/blog/2018/02/21/pwa-basic-auth)
you have to enable `manifst.crossorigin` in `nuxt.config.js`:

```js
{
manifest: {
crossorigin: 'use-credentials'
}
}
```

0 comments on commit 167a992

Please sign in to comment.