Skip to content

Commit

Permalink
fix google fonts url
Browse files Browse the repository at this point in the history
  • Loading branch information
lexoyo committed May 2, 2024
1 parent b97ce84 commit 57881e4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Also you should style the dialog:
| Option | Description | Default |
|-|-|-
| `api_key` | Google fonts API key, [see this doc to get an API key](https://developers.google.com/fonts/docs/developer_api#APIKey) | Required |
| `server_url` | Google fonts server or a free [privacy-friendly drop-in replacement for Google Fonts](https://github.com/coollabsio/fonts) or [a proxy server to speed up the load and protect privacy](https://fontlay.com/) | `https://www.googleapis.com` |
| `server_url` | Google fonts server or a free [privacy-friendly drop-in replacement for Google Fonts](https://github.com/coollabsio/fonts) or [a proxy server to speed up the load and protect privacy](https://fontlay.com/) | `https://fonts.googleapis.com` |

## Download

Expand Down
4 changes: 2 additions & 2 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/fonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ let defaults = []
/**
* Options
*/
let fontServer = 'https://www.googleapis.com'
let fontServer = 'https://fonts.googleapis.com'

/**
* Load available fonts only once per session
Expand Down

0 comments on commit 57881e4

Please sign in to comment.