refactor: changed where index.html is created
This commit is contained in:
parent
23d43061fb
commit
224df9ef7a
2 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ func (s *Service) Init() error {
|
|||
if err != nil {
|
||||
return fmt.Errorf("failed to make service profile path: %v", err)
|
||||
}
|
||||
err = os.MkdirAll(s.PathForData(), 0o777)
|
||||
err = os.MkdirAll(s.PathForData()+"/www", 0o777)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to make service data path: %v", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue