1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/lib/middleware/session-middleware.js
2017-11-16 15:13:39 +01:00

9 lines
155 B
JavaScript

'use strict';
const cookieSession = require('cookie-session');
module.exports = config => {
config.a = 1;
return cookieSession(config.field);
};