aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/html_container.go
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-07-14 21:25:01 +0800
committerMaran <maran.hidskes@gmail.com>2014-07-14 21:25:01 +0800
commite6a428f85f0d1c7e50dc8262a7687ec2f1ce2d7b (patch)
tree61f190197794901ba1de8bc988092f9862297a9c /ethereal/html_container.go
parent288f1c5387c1a0a8863499389e8a7ca7e3068208 (diff)
downloadgo-tangerine-e6a428f85f0d1c7e50dc8262a7687ec2f1ce2d7b.tar.gz
go-tangerine-e6a428f85f0d1c7e50dc8262a7687ec2f1ce2d7b.tar.zst
go-tangerine-e6a428f85f0d1c7e50dc8262a7687ec2f1ce2d7b.zip
Make the reload watcher use windows-safe paths
Diffstat (limited to 'ethereal/html_container.go')
-rw-r--r--ethereal/html_container.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereal/html_container.go b/ethereal/html_container.go
index 1e835eebc..2ad06ffb5 100644
--- a/ethereal/html_container.go
+++ b/ethereal/html_container.go
@@ -59,7 +59,7 @@ func (app *HtmlApplication) RootFolder() string {
if err != nil {
return ""
}
- return path.Dir(folder.RequestURI())
+ return path.Dir(ethutil.WindonizePath(folder.RequestURI()))
}
func (app *HtmlApplication) RecursiveFolders() []os.FileInfo {
files, _ := ioutil.ReadDir(app.RootFolder())