goproxy icon indicating copy to clipboard operation
goproxy copied to clipboard

windows cache path

Open nikolajiang opened this issue 2 years ago • 1 comments

in file proxy/route.go, use path.Dir(file) to get the dir of cache file; but in windows it will just return ".",
because the path separator in path.Dir(path string) is "\" , and the path separator in the file is "/". it may replace path.Dir(file) with filepath.ToSlash(filepath.Dir(file)).

nikolajiang avatar Nov 18 '21 15:11 nikolajiang

@nikolajiang Can you help send a PR for this issue?

oiooj avatar Nov 25 '21 04:11 oiooj