1
0
mirror of https://github.com/kataras/iris.git synced 2026-02-08 11:46:01 +00:00
This commit is contained in:
Gerasimos (Makis) Maropoulos
2021-01-09 05:41:20 +02:00
parent 72c2dafd2e
commit 8aedf6bc32
36 changed files with 99 additions and 130 deletions

2
cli.go
View File

@@ -47,7 +47,7 @@ func injectLiveReload(r Party) (bool, error) {
path = filepath.Join(wd, path)
if _, err := os.Stat(path); err == nil {
inFile, err := os.OpenFile(path, os.O_RDONLY, 0644)
inFile, err := os.OpenFile(path, os.O_RDONLY, 0600)
if err != nil {
return false, err
}