|
|
@@ -12,7 +12,7 @@ type CrowiReq = Request & {
|
|
|
}
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
|
-export default (crowi: Crowi) => {
|
|
|
+const delegator = (crowi: Crowi) => {
|
|
|
|
|
|
const { nextApp } = crowi;
|
|
|
const handle = nextApp.getRequestHandler();
|
|
|
@@ -27,3 +27,5 @@ export default (crowi: Crowi) => {
|
|
|
};
|
|
|
|
|
|
};
|
|
|
+
|
|
|
+export default delegator;
|