Shun Miyazawa hace 2 meses
padre
commit
2a6710a53e
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      packages/remark-lsx/src/server/index.ts

+ 3 - 0
packages/remark-lsx/src/server/index.ts

@@ -57,6 +57,9 @@ const middleware = (crowi: any, app: any): void => {
     loginRequiredFallback,
   );
   const accessTokenParser = crowi.accessTokenParser;
+
+  // Use a callback to get excludedPaths at request time, not at server startup.
+  // This ensures config changes are reflected without server restart.
   const getExcludedPaths = () => crowi.pageService.getExcludedPathsBySystem();
 
   app.get(