go fmt
This commit is contained in:
parent
72ed8fa4a9
commit
f3b9d67b77
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ type fallback struct {
|
||||||
|
|
||||||
func OpenDefault(fb fallback, requestPath string) (http.File, error) {
|
func OpenDefault(fb fallback, requestPath string) (http.File, error) {
|
||||||
requestPath = path.Dir(requestPath)
|
requestPath = path.Dir(requestPath)
|
||||||
defaultFile := requestPath + "/" + fb.defaultPath;
|
defaultFile := requestPath + "/" + fb.defaultPath
|
||||||
|
|
||||||
f, err := fb.fs.Open(defaultFile)
|
f, err := fb.fs.Open(defaultFile)
|
||||||
if os.IsNotExist(err) && requestPath != "" {
|
if os.IsNotExist(err) && requestPath != "" {
|
||||||
|
|
Loading…
Reference in a new issue