mirror of
https://github.com/openziti/zrok.git
synced 2024-11-25 01:23:49 +01:00
oops.
This commit is contained in:
parent
60dc2c6e6b
commit
65209caa53
@ -21,7 +21,7 @@ func StaticBuilder(handler http.Handler) http.Handler {
|
||||
logrus.Debugf("directing '%v' to static handler", r.URL.Path)
|
||||
|
||||
staticPath := "build"
|
||||
indexPath := "index.gohtml"
|
||||
indexPath := "index.html"
|
||||
|
||||
// get the absolute path to prevent directory traversal
|
||||
path, err := filepath.Abs(r.URL.Path)
|
||||
|
Loading…
Reference in New Issue
Block a user