update lại thư mục cấu trúc mới của server nodejs và python
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
var utils = require('../utils.cjs');
|
||||
|
||||
const getCookieFactory = utils.apiFactory()((_, ctx) => {
|
||||
/**
|
||||
* Get the current cookie string
|
||||
*/
|
||||
return function getCookie() {
|
||||
return ctx.cookie;
|
||||
};
|
||||
});
|
||||
|
||||
exports.getCookieFactory = getCookieFactory;
|
||||
Reference in New Issue
Block a user