aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/html_container.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-05-12 23:23:46 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-05-12 23:23:46 +0800
commit58d6ec689ff44232cd5d6a7cbbaad2d7a2cb44bd (patch)
treea5bfb1a0ade11c7f68d0322b9773e8c46571c455 /cmd/mist/html_container.go
parentf87094b660c95b547486e7439620e68f3d59c45f (diff)
parent899df30c24c85ca0b2dadd4cbb251a4ec5ca1a75 (diff)
downloadgo-tangerine-58d6ec689ff44232cd5d6a7cbbaad2d7a2cb44bd.tar
go-tangerine-58d6ec689ff44232cd5d6a7cbbaad2d7a2cb44bd.tar.gz
go-tangerine-58d6ec689ff44232cd5d6a7cbbaad2d7a2cb44bd.tar.bz2
go-tangerine-58d6ec689ff44232cd5d6a7cbbaad2d7a2cb44bd.tar.lz
go-tangerine-58d6ec689ff44232cd5d6a7cbbaad2d7a2cb44bd.tar.xz
go-tangerine-58d6ec689ff44232cd5d6a7cbbaad2d7a2cb44bd.tar.zst
go-tangerine-58d6ec689ff44232cd5d6a7cbbaad2d7a2cb44bd.zip
Merge pull request #933 from bas-vk/issue928
replaced path with platform aware filepath module
Diffstat (limited to 'cmd/mist/html_container.go')
-rw-r--r--cmd/mist/html_container.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/mist/html_container.go b/cmd/mist/html_container.go
index 7c948885a..c9b1f1cd6 100644
--- a/cmd/mist/html_container.go
+++ b/cmd/mist/html_container.go
@@ -26,7 +26,6 @@ import (
"io/ioutil"
"net/url"
"os"
- "path"
"path/filepath"
"github.com/ethereum/go-ethereum/common"
@@ -80,7 +79,7 @@ func (app *HtmlApplication) RootFolder() string {
if err != nil {
return ""
}
- return path.Dir(common.WindonizePath(folder.RequestURI()))
+ return filepath.Dir(common.WindonizePath(folder.RequestURI()))
}
func (app *HtmlApplication) RecursiveFolders() []os.FileInfo {
files, _ := ioutil.ReadDir(app.RootFolder())