aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/allconfig/load.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/allconfig/load.go')
-rw-r--r--config/allconfig/load.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/allconfig/load.go b/config/allconfig/load.go
index edf8295bf..117b8e89c 100644
--- a/config/allconfig/load.go
+++ b/config/allconfig/load.go
@@ -458,6 +458,7 @@ func (l *configLoader) loadModules(configs *Configs) (modules.ModulesConfig, *mo
conf := configs.Base
workingDir := bcfg.WorkingDir
themesDir := bcfg.ThemesDir
+ publishDir := bcfg.PublishDir
cfg := configs.LoadingInfo.Cfg
@@ -492,6 +493,7 @@ func (l *configLoader) loadModules(configs *Configs) (modules.ModulesConfig, *mo
HookBeforeFinalize: hook,
WorkingDir: workingDir,
ThemesDir: themesDir,
+ PublishDir: publishDir,
Environment: l.Environment,
CacheDir: conf.Caches.CacheDirModules(),
ModuleConfig: conf.Module,