CI: Fix compilation problems
This commit is contained in:
parent
a255480195
commit
3c42bef298
3 changed files with 7 additions and 2 deletions
|
|
@ -135,6 +135,7 @@ func main() {
|
|||
if sDir, err := filepath.Abs(*staticDir); err != nil {
|
||||
log.Fatal(err)
|
||||
} else {
|
||||
log.Println("Serving pages from", sDir)
|
||||
staticFS = http.Dir(sDir)
|
||||
sync.DeepReportPath = path.Join(sDir, sync.DeepReportPath)
|
||||
}
|
||||
|
|
@ -143,6 +144,7 @@ func main() {
|
|||
if err != nil {
|
||||
log.Fatal("Unable to cd to static/ directory:", err)
|
||||
}
|
||||
log.Println("Serving pages from memory.")
|
||||
staticFS = http.FS(sub)
|
||||
sync.DeepReportPath = path.Join("SYNC", sync.DeepReportPath)
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue