Yuki Takei %!s(int64=3) %!d(string=hai) anos
pai
achega
bdd5c274cd
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      packages/app/src/server/routes/next.ts

+ 3 - 1
packages/app/src/server/routes/next.ts

@@ -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;