Skip to content

Commit

Permalink
docs: added note about .com
Browse files Browse the repository at this point in the history
  • Loading branch information
niftylettuce committed Jul 22, 2020
1 parent ad4f6de commit f96dd65
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
## Table of Contents

* [Install](#install)
* [Important Note](#important-note)
* [Usage](#usage)
* [API](#api)
* [i18n.translate(key, locale, ...args)](#i18ntranslatekey-locale-args)
Expand All @@ -39,6 +40,15 @@ yarn add @ladjs/i18n
```


## Important Note

If you have an extension in your route, e.g. `foo.css` or `foo.com`, then the i18n middleware we expose (see below) will not effect this.

We have considered accepting a pull request to handle detection of file extension (e.g. if it is a domain name) or another way to allow certain routes to bypass this.

Thank you, and let us know if you have any issues!


## Usage

```js
Expand Down

0 comments on commit f96dd65

Please sign in to comment.