rename uploadFolder
This commit is contained in:
parent
a042458499
commit
e433c4b048
2
main.go
2
main.go
@ -52,7 +52,7 @@ func main() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Panicf("main: %v\n", err)
|
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 _, err := os.Stat(uploadFolder); err != nil {
|
||||||
if !os.IsNotExist(err) {
|
if !os.IsNotExist(err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user