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