Skip to content

windows cache path #191

@nikolajiang

Description

@nikolajiang

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions