Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows cache path #191

Open
nikolajiang opened this issue Nov 18, 2021 · 1 comment
Open

windows cache path #191

nikolajiang opened this issue Nov 18, 2021 · 1 comment

Comments

@nikolajiang
Copy link

nikolajiang commented Nov 18, 2021

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)).

@oiooj
Copy link
Member

oiooj commented Nov 25, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants