mirror of
https://github.com/Monibuca/plugin-record.git
synced 2025-10-21 15:49:22 +08:00
修改创建文件夹的权限
This commit is contained in:
2
main.go
2
main.go
@@ -35,7 +35,7 @@ func init() {
|
||||
}
|
||||
func run() {
|
||||
OnSubscribeHooks.AddHook(onSubscribe)
|
||||
os.MkdirAll(config.Path, 0666)
|
||||
os.MkdirAll(config.Path, 0777)
|
||||
http.HandleFunc("/record/flv/list", func(writer http.ResponseWriter, r *http.Request) {
|
||||
if files, err := tree(config.Path, 0); err == nil {
|
||||
var bytes []byte
|
||||
|
Reference in New Issue
Block a user