mirror of https://github.com/gogs/gogs.git
routes/api/srcgraph: remove option field
parent
e2629d7ea6
commit
e688457820
|
@ -19,10 +19,9 @@ import (
|
|||
|
||||
func NewHandler() http.HandlerFunc {
|
||||
h := adapter.NewHandler(externalService{}, adapter.Options{
|
||||
URL: setting.AppURL,
|
||||
PathPrefix: "/-/srcgraph",
|
||||
MaxPageLen: 100000, // Current version returns all repositories at once, does not matter
|
||||
TokenAsUsername: true,
|
||||
URL: setting.AppURL,
|
||||
PathPrefix: "/-/srcgraph",
|
||||
MaxPageLen: 100000, // Current version returns all repositories at once, does not matter
|
||||
})
|
||||
return h.ServeHTTP
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue