This commit is contained in:
parent
84214a4a1a
commit
492e74e1e8
|
@ -846,6 +846,8 @@ func searchInFile(path string, text string) []*Snippet {
|
|||
}
|
||||
|
||||
func authWorkspace(username, path string) bool {
|
||||
path = filepath.FromSlash(path)
|
||||
|
||||
if strings.HasPrefix(path, util.Go.GetAPIPath()) {
|
||||
return true
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue