From 51c5461632ac98ce53556c0d3124301d7dd324df Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Fri, 29 Dec 2023 10:10:50 +1100 Subject: [PATCH] another fix --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index f653acf..5807f46 100644 --- a/main.go +++ b/main.go @@ -41,7 +41,7 @@ func staticFileServer(content embed.FS) gin.HandlerFunc { // Root request should load index.htm if len(fileName) == 1 { 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)