aboutsummaryrefslogtreecommitdiff
path: root/files.go
diff options
context:
space:
mode:
Diffstat (limited to 'files.go')
-rw-r--r--files.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/files.go b/files.go
index 2effe6e..fbbf703 100644
--- a/files.go
+++ b/files.go
@@ -14,7 +14,7 @@ func writeFile(postcache PostCache, filename string) error {
return err
}
- err = ioutil.WriteFile("files/"+filename, binary, 0644)
+ err = ioutil.WriteFile(config.API.Files+filename, binary, 0644)
if err != nil {
return err
}