diff --git a/src/InterfaceForward.Application/InterfaceForwardApplicationModule.cs b/src/InterfaceForward.Application/InterfaceForwardApplicationModule.cs index 0c2d400..a4d3809 100644 --- a/src/InterfaceForward.Application/InterfaceForwardApplicationModule.cs +++ b/src/InterfaceForward.Application/InterfaceForwardApplicationModule.cs @@ -61,6 +61,9 @@ public class InterfaceForwardApplicationModule:FakeModule static void PreheatNatasha() { + // aspnet 非 root 时 /app 不可写;k8s 已在 api.yaml 挂 emptyDir → /app/DynamicLibraryFolders + Directory.CreateDirectory(Path.Combine(AppContext.BaseDirectory, "DynamicLibraryFolders")); + NatashaManagement.Preheating(false, false); var context = new ForwardCoreContext();