mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
parent
a1be42825b
commit
472d6e88b9
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
binary.go
|
||||
debug
|
||||
version.go
|
||||
|
20
ISSUE_TEMPLATE
Normal file
20
ISSUE_TEMPLATE
Normal file
@ -0,0 +1,20 @@
|
||||
(Are you asking for help with using Caddy or File Manager? Please use our forum instead: https://forum.caddyserver.com. If you are filing a bug report, please answer the following questions. If your issue is not a bug report, you do not need to use this template.)
|
||||
|
||||
### 1. Which revision of File Manager are you running (check the footer on any page)?
|
||||
|
||||
|
||||
### 2. What are you trying to do?
|
||||
|
||||
|
||||
### 3. What is your entire Caddyfile?
|
||||
```text
|
||||
(Put Caddyfile here)
|
||||
```
|
||||
|
||||
### 4. What did you expect to see?
|
||||
|
||||
|
||||
### 5. What did you see instead (give full error messages and/or log)?
|
||||
|
||||
|
||||
### 6. How can someone who is starting from scratch reproduce this behavior as minimally as possible?
|
@ -1,6 +1,7 @@
|
||||
//go:generate go get github.com/jteeuwen/go-bindata
|
||||
//go:generate go install github.com/jteeuwen/go-bindata/go-bindata
|
||||
//go:generate go get github.com/bountylabs/gitversion
|
||||
//go:generate go-bindata -pkg assets -prefix "_embed" -o assets/binary.go _embed/...
|
||||
//go:generate gitversion -o page/version.go -p page
|
||||
|
||||
// Package filemanager provides middleware for managing files in a directory
|
||||
// when directory path is requested instead of a specific file. Based on browse
|
||||
|
@ -34,6 +34,11 @@ type Info struct {
|
||||
Token string
|
||||
}
|
||||
|
||||
// Commit returns the current build commit
|
||||
func (i *Info) Commit() string {
|
||||
return GIT_COMMIT_HASH
|
||||
}
|
||||
|
||||
// BreadcrumbMapItem ...
|
||||
type BreadcrumbMapItem struct {
|
||||
Name string
|
||||
|
Loading…
Reference in New Issue
Block a user