sveltekit-i18n / lib

Internationalization library built for SvelteKit.
MIT License
488 stars 31 forks source link

locale-router example typo #58

Closed grind-t closed 2 years ago

grind-t commented 2 years ago

Hello! I found a typo on this line, it should be request.headers.get('accept-language') instead of request.headers['accept-language']. Here is a link for the same issue. Thanks for your work ❤️

jarda-svoboda commented 2 years ago

oh, thanks for the report!:) fixed... https://github.com/sveltekit-i18n/lib/commit/b0ff03b8ba549c0738308c44af73ead9a9c774ed