This commit is contained in:
2
main.go
2
main.go
@@ -41,7 +41,7 @@ func staticFileServer(content embed.FS) gin.HandlerFunc {
|
|||||||
// Root request should load index.htm
|
// Root request should load index.htm
|
||||||
if len(fileName) == 1 {
|
if len(fileName) == 1 {
|
||||||
log.Printf("staticFileServer replacing root request with index.html")
|
log.Printf("staticFileServer replacing root request with index.html")
|
||||||
fileName = "index.html"
|
fileName = "www/index.html"
|
||||||
}
|
}
|
||||||
|
|
||||||
//log.Printf("staticFileServer attempting to load filename '%s'\n", fileName)
|
//log.Printf("staticFileServer attempting to load filename '%s'\n", fileName)
|
||||||
|
Reference in New Issue
Block a user