test: add static assets handler test
This commit is contained in:
@ -9,5 +9,5 @@ import (
|
||||
type assets struct{}
|
||||
|
||||
func (assets) Open(p string) (fs.File, error) {
|
||||
return os.Open(path.Join("./", p))
|
||||
return os.Open(path.Join("../", p))
|
||||
}
|
||||
|
Reference in New Issue
Block a user