Skip to content

Commit

Permalink
setting the base dir
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbakker committed Mar 18, 2021
1 parent 746ca4b commit 2b8cfe3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/render/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ func GetDevelopmentServer(hostname string, port int, path string, user *data.Use
if err != nil {
return nil, ErrorPongoLoader
}
err = loader.SetBaseDir(filepath.Dir(path))
if err != nil {
return nil, ErrorPongoLoader
}

devServer := &developmentServer{
hostname: hostname,
Expand Down

0 comments on commit 2b8cfe3

Please sign in to comment.