change content folder

This commit is contained in:
2020-01-15 16:05:55 +01:00
parent ef0b0ef4f7
commit aa5060850d
2 changed files with 3 additions and 1 deletions

View File

@@ -124,7 +124,7 @@ func postRequest(content *Webhook) {
}
func cronTask() error {
dir := filepath.Join(".", "content")
dir := filepath.Join("/etc", "fbBot", "content")
os.MkdirAll(dir, os.ModePerm)
opts := append(chromedp.DefaultExecAllocatorOptions[:],