parent
1f485fde83
commit
6857227777
|
@ -1,4 +1,9 @@
|
||||||
|
|
||||||
|
1.5.2 / 2017-01-13
|
||||||
|
==================
|
||||||
|
|
||||||
|
* fix: make sure signed=false on set/get cookie (#24)
|
||||||
|
|
||||||
1.5.1 / 2016-05-21
|
1.5.1 / 2016-05-21
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
|
2
index.js
2
index.js
|
@ -19,7 +19,7 @@ const DEFAULT_OPTIONS = {
|
||||||
functionName: '__',
|
functionName: '__',
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (app, options) => {
|
module.exports = function (app, options) {
|
||||||
options = assign({}, DEFAULT_OPTIONS, options);
|
options = assign({}, DEFAULT_OPTIONS, options);
|
||||||
const defaultLocale = formatLocale(options.defaultLocale);
|
const defaultLocale = formatLocale(options.defaultLocale);
|
||||||
const queryField = options.queryField;
|
const queryField = options.queryField;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "koa-locales",
|
"name": "koa-locales",
|
||||||
"version": "1.5.1",
|
"version": "1.5.2",
|
||||||
"description": "koa locales, i18n solution for koa",
|
"description": "koa locales, i18n solution for koa",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
|
Loading…
Reference in New Issue