rename uploadFolder

This commit is contained in:
AustrianToast 2024-07-11 23:15:39 +02:00
parent a042458499
commit e433c4b048
Signed by: AustrianToast
GPG Key ID: 378A29F999424B1C

View File

@ -52,7 +52,7 @@ func main() {
if err != nil {
log.Panicf("main: %v\n", err)
}
uploadFolder = fmt.Sprintf("%s/videos", currentDir)
uploadFolder = fmt.Sprintf("%s/upload", currentDir)
if _, err := os.Stat(uploadFolder); err != nil {
if !os.IsNotExist(err) {