mirror of
https://github.com/profullstack/agentbbs.git
synced 2026-08-13 14:27:27 +00:00
Merge pull request #25 from profullstack/fix/pod-public-html-bind-mount
fix(pods): bind-mount host public_html into the pod so ~/public_html is served
This commit is contained in:
commit
cbe7a44bd5
3 changed files with 129 additions and 22 deletions
|
|
@ -191,7 +191,7 @@ func main() {
|
|||
}()
|
||||
}
|
||||
|
||||
if m, err := pods.Detect(); err == nil {
|
||||
if m, err := pods.Detect(filepath.Join(dataDir, "users")); err == nil {
|
||||
a.pods = m
|
||||
log.Info("pods enabled", "engine", m.Engine())
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue