mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-10 01:56:37 +00:00
Make the reload watcher use windows-safe paths
This commit is contained in:
parent
288f1c5387
commit
e6a428f85f
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ func (app *HtmlApplication) RootFolder() string {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
return path.Dir(folder.RequestURI())
|
return path.Dir(ethutil.WindonizePath(folder.RequestURI()))
|
||||||
}
|
}
|
||||||
func (app *HtmlApplication) RecursiveFolders() []os.FileInfo {
|
func (app *HtmlApplication) RecursiveFolders() []os.FileInfo {
|
||||||
files, _ := ioutil.ReadDir(app.RootFolder())
|
files, _ := ioutil.ReadDir(app.RootFolder())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue