This commit is contained in:
parent
b24e42ed55
commit
87631e1f40
@ -61,6 +61,9 @@ public class InterfaceForwardApplicationModule:FakeModule
|
|||||||
|
|
||||||
static void PreheatNatasha()
|
static void PreheatNatasha()
|
||||||
{
|
{
|
||||||
|
// aspnet 非 root 时 /app 不可写;k8s 已在 api.yaml 挂 emptyDir → /app/DynamicLibraryFolders
|
||||||
|
Directory.CreateDirectory(Path.Combine(AppContext.BaseDirectory, "DynamicLibraryFolders"));
|
||||||
|
|
||||||
NatashaManagement.Preheating<NatashaDomainCreator>(false, false);
|
NatashaManagement.Preheating<NatashaDomainCreator>(false, false);
|
||||||
|
|
||||||
var context = new ForwardCoreContext();
|
var context = new ForwardCoreContext();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user