unexport page
Former-commit-id: 1ba9608a9c27334a337d3f919458c6f6116be0f9
This commit is contained in:
@@ -14,15 +14,13 @@ func serveSingle(w http.ResponseWriter, r *http.Request, c *FileManager, u *user
|
||||
return errorToHTTP(err, true), err
|
||||
}
|
||||
|
||||
p := &Page{
|
||||
PageInfo: &PageInfo{
|
||||
Name: i.Name,
|
||||
Path: i.VirtualPath,
|
||||
IsDir: false,
|
||||
Data: i,
|
||||
User: u,
|
||||
Config: c,
|
||||
},
|
||||
p := &page{
|
||||
Name: i.Name,
|
||||
Path: i.VirtualPath,
|
||||
IsDir: false,
|
||||
Data: i,
|
||||
User: u,
|
||||
Config: c,
|
||||
}
|
||||
|
||||
// If the request accepts JSON, we send the file information.
|
||||
|
||||
Reference in New Issue
Block a user